:root{
  --em:#0a6cff; --em2:#3b8cff; --em3:#eaf2ff; --navy:#13161f; --ink:#13161f;
  --muted:#6c6f76; --line:#e9eef6; --bg:#f5f8fd; --card:#fff; --gold:#0f9467; --red:#f64146;
  --r:20px; --shadow:0 10px 30px rgba(10,36,80,.08); --shadow2:0 4px 14px rgba(10,36,80,.06);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg); color:var(--ink); font-size:15px; line-height:1.55;
}
img{max-width:100%}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}
#root{min-height:100vh}

/* ---------- auth ---------- */
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr}
.auth-hero{
  background:radial-gradient(120% 100% at 0% 0%,#0b513c 0%,#0e7a56 45%,#0b1f3a 100%);
  color:#fff;padding:44px 26px 34px;position:relative;overflow:hidden;
}
.auth-hero:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.06);right:-120px;top:-80px}
.auth-hero:before{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.18);border-radius:50%;left:-90px;bottom:-70px}
.brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.logo{
  width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#fff,#e3efff);color:var(--em);
  display:grid;place-items:center;font-weight:800;letter-spacing:.5px;font-size:17px;box-shadow:0 6px 18px rgba(0,0,0,.18)
}
.logo.lg{width:62px;height:62px;border-radius:18px;font-size:22px}
.brand h1{font-size:18px;margin:0;letter-spacing:.2px}
.brand small{display:block;color:#cfe9df;font-size:11.5px;letter-spacing:.6px;text-transform:uppercase}
.auth-hero h2{font-size:25px;line-height:1.25;margin:30px 0 10px;position:relative;z-index:1;max-width:420px}
.auth-hero p{color:#d5e9e1;margin:0;max-width:420px;position:relative;z-index:1;font-size:14px}
.auth-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;position:relative;z-index:1}
.auth-badges span{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);padding:6px 11px;border-radius:99px;font-size:11.5px}
.auth-card{background:var(--card);padding:26px 22px 30px;border-radius:26px 26px 0 0;margin-top:-22px;position:relative;z-index:2}
.auth-tabs{display:flex;background:var(--bg);border-radius:12px;padding:4px;margin-bottom:20px}
.auth-tabs button{flex:1;padding:9px;border-radius:9px;color:var(--muted);font-weight:600;font-size:13.5px}
.auth-tabs button.on{background:#fff;color:var(--em);box-shadow:var(--shadow2)}
.field{margin-bottom:13px}
.field label{display:block;font-size:12.5px;font-weight:600;color:#415268;margin-bottom:5px}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--line);background:#fbfcfb;border-radius:12px;padding:12px 13px;outline:none;transition:.15s
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--em2);background:#fff;box-shadow:0 0 0 3px rgba(10,108,255,.14)}
.field textarea{min-height:90px;resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--em);color:#fff;
  padding:12px 18px;border-radius:12px;font-weight:650;font-size:14px;transition:.15s;width:100%
}
.btn:hover{background:#0b6849}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn.ghost{background:var(--em3);color:var(--em)}
.btn.ghost:hover{background:#dcefe6}
.btn.line{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn.small{width:auto;padding:8px 14px;font-size:13px;border-radius:10px}
.btn.danger{background:#fdecea;color:var(--red)}
.auth-note{font-size:12px;color:var(--muted);text-align:center;margin-top:14px}
.auth-note b{color:var(--em)}

/* ---------- shell ---------- */
.shell{max-width:1080px;margin:0 auto;padding-bottom:86px;min-height:100vh}
.top{
  position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);padding:11px 16px;display:flex;align-items:center;gap:11px
}
.top .logo{width:38px;height:38px;border-radius:12px;font-size:14px}
.top-title{flex:1;min-width:0}
.top-title b{display:block;font-size:15px;line-height:1.2}
.top-title small{color:var(--muted);font-size:11.5px}
.icon-btn{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#44586d;position:relative}
.icon-btn:hover{background:var(--bg)}
.icon-btn .dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:#e2574c;border:2px solid #fff}
.page{padding:16px 16px 8px}
.page-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.page-head h2{font-size:20px;margin:0;letter-spacing:-.2px}
.page-head p{margin:2px 0 0;color:var(--muted);font-size:12.5px}
.back{width:36px;height:36px;border-radius:11px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#3c5165}

.bottom{
  position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);
  border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:flex-end;
  padding:7px 6px calc(7px + env(safe-area-inset-bottom));max-width:1080px;margin:0 auto
}
.bnav{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;color:#8695a5;font-size:10.5px;font-weight:550;padding:3px 0}
.bnav svg{width:22px;height:22px}
.bnav.on{color:var(--em)}
.bnav.center{position:relative;top:-16px}
.bnav.center .circle{
  width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,var(--em2),var(--em));
  display:grid;place-items:center;color:#fff;box-shadow:0 8px 20px rgba(10,108,255,.35);border:4px solid #fff
}
.bnav.center span{font-size:10.5px;margin-top:-2px;color:var(--em);font-weight:700}

/* ---------- cards & common ---------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow2)}
.section{margin:18px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.section-head h3{margin:0;font-size:15.5px;letter-spacing:-.1px}
.section-head a,.section-head button{color:var(--em);font-size:12.5px;font-weight:600}
.hero{
  background:linear-gradient(125deg,#4f97ff,#0a6cff 55%,#0052d9);color:#fff;border-radius:22px;padding:20px;
  position:relative;overflow:hidden;box-shadow:0 16px 34px rgba(10,108,255,.22)
}
.hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.07);right:-60px;top:-70px}
.hero:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;border:1px solid rgba(255,255,255,.15);right:30px;bottom:-60px}
.hero small{font-size:11.5px;letter-spacing:1.2px;text-transform:uppercase;color:#c8e7db}
.hero h2{margin:6px 0 4px;font-size:21px;letter-spacing:-.3px}
.hero p{margin:0;color:#d7ebe4;font-size:12.8px;max-width:78%}
.hero .pill{display:inline-flex;align-items:center;gap:6px;margin-top:14px;background:rgba(255,255,255,.15);padding:6px 11px;border-radius:99px;font-size:11.5px}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}
.qbtn{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 5px 10px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#33475c;box-shadow:var(--shadow2)}
.qbtn .qic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--em3);color:var(--em)}
.qbtn:nth-child(2) .qic{background:#fdf3e2;color:#b07d24}
.qbtn:nth-child(3) .qic{background:#e9f0fb;color:#2f5e9e}
.qbtn:nth-child(4) .qic{background:#f3ecfb;color:#6e48a8}
.avatar{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#e6f0ff,#c3e6d8);color:#0b5c43;display:grid;place-items:center;font-weight:750;font-size:15px;flex:none}
.avatar.rnd{border-radius:50%}
.avatar.sm{width:36px;height:36px;border-radius:11px;font-size:13px}
.avatar.lg{width:68px;height:68px;border-radius:20px;font-size:22px}
.avatar.rnd,.avatar.sm.rnd,.avatar.lg.rnd{border-radius:50%}
.verified{display:inline-flex;align-items:center;gap:3px;background:#e7f5ef;color:#0b6b4c;border-radius:99px;padding:2px 7px;font-size:10px;font-weight:700}
.chip{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:99px;border:1px solid var(--line);background:#fff;font-size:12px;color:#51657a;white-space:nowrap}
.chip.on{background:var(--em);color:#fff;border-color:var(--em)}
.chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.muted{color:var(--muted)}
.small{font-size:12px}
.tiny{font-size:11px}
.divider{height:1px;background:var(--line);margin:12px 0}
.empty{text-align:center;padding:34px 18px;color:var(--muted);font-size:13px}
.empty .eic{width:56px;height:56px;border-radius:18px;background:var(--bg);display:grid;place-items:center;margin:0 auto 10px;color:#9aabba}
.loading{display:grid;place-items:center;padding:50px;color:var(--muted);font-size:13px}
.spinner{width:26px;height:26px;border:3px solid var(--line);border-top-color:var(--em);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:10px}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- feed ---------- */
.post{padding:15px 15px 10px;margin-bottom:11px}
.post-head{display:flex;gap:10px;align-items:center}
.post-head b{font-size:13.8px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.post-head .small{color:var(--muted);font-size:11.5px}
.post-body{margin:11px 0 8px;font-size:14px;white-space:pre-wrap;word-break:break-word}
.post-actions{display:flex;gap:4px;border-top:1px solid var(--line);padding-top:6px;margin-top:6px}
.pact{display:flex;align-items:center;gap:6px;padding:7px 11px;border-radius:9px;color:#62788c;font-size:12.3px;font-weight:600}
.pact:hover{background:var(--bg)}
.pact.liked{color:var(--em)}
.pact svg{width:17px;height:17px}
.composer{display:flex;gap:10px;padding:12px}
.composer textarea{flex:1;border:1px solid var(--line);background:#fbfcfb;border-radius:13px;padding:11px;min-height:44px;max-height:160px;resize:none;outline:none;font-size:13.5px}
.composer .send{width:44px;height:44px;border-radius:13px;background:var(--em);color:#fff;display:grid;place-items:center;flex:none}
.comment{display:flex;gap:8px;padding:7px 0}
.comment .bubble{background:var(--bg);border-radius:11px;padding:7px 11px;font-size:12.8px}

/* ---------- alumni ---------- */
.alum{padding:13px;margin-bottom:9px;display:flex;gap:11px;align-items:center}
.alum .info{flex:1;min-width:0}
.alum b{font-size:13.8px;display:flex;gap:6px;align-items:center}
.alum .sub{font-size:11.8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alum .tags{display:flex;gap:5px;margin-top:5px;flex-wrap:wrap}
.tag{background:var(--bg);border-radius:6px;padding:2px 7px;font-size:10.5px;color:#5d7388}
.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;box-shadow:var(--shadow2)}
.search input{border:0;outline:0;flex:1;background:none;font-size:13.5px}
.search svg{color:#8b9bab}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.filters select{border:1px solid var(--line);border-radius:11px;padding:9px 10px;background:#fff;font-size:12.5px;color:#41566b;outline:none}

/* ---------- chat ---------- */
.conv{display:flex;gap:11px;padding:12px 13px;border-bottom:1px solid var(--line);align-items:center}
.conv:last-child{border-bottom:0}
.conv .info{flex:1;min-width:0}
.conv b{font-size:13.6px}
.conv .last{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conv .meta{text-align:right;font-size:10.5px;color:#9aa9b7}
.chat-room{display:flex;flex-direction:column;height:calc(100vh - 62px - 70px)}
.msgs{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:8px}
.msg{max-width:82%;padding:9px 12px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid var(--line);font-size:13.5px;align-self:flex-start;box-shadow:var(--shadow2)}
.msg.me{align-self:flex-end;border-radius:14px 14px 4px 14px;background:var(--em);color:#fff;border-color:var(--em)}
.msg .who{font-size:10.5px;opacity:.75;margin-bottom:2px;font-weight:600}
.msg .at{font-size:9.5px;opacity:.65;text-align:right;margin-top:3px}
.chat-input{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:#fff;align-items:center;position:sticky;bottom:0}
.chat-input input{flex:1;border:1px solid var(--line);border-radius:99px;padding:11px 15px;outline:none;background:var(--bg);font-size:13.5px}
.chat-input .send{width:42px;height:42px;border-radius:50%;background:var(--em);color:#fff;display:grid;place-items:center;flex:none}

/* ---------- events ---------- */
.event{padding:14px;margin-bottom:10px;display:flex;gap:12px}
.datebox{width:52px;flex:none;border-radius:13px;background:var(--em3);color:var(--em);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 0;height:58px}
.datebox b{font-size:19px;line-height:1}
.datebox span{font-size:10px;text-transform:uppercase;letter-spacing:.5px}
.event .info{flex:1;min-width:0}
.event b{font-size:14px}
.event .sub{font-size:11.8px;color:var(--muted);margin-top:2px}
.rsvp{display:flex;gap:6px;margin-top:9px}
.rsvp button{border:1px solid var(--line);border-radius:9px;padding:6px 10px;font-size:11.5px;font-weight:600;color:#5a7085;background:#fff}
.rsvp button.on{background:var(--em);border-color:var(--em);color:#fff}

/* ---------- profile ---------- */
.profile-hero{padding:20px;text-align:center;position:relative;overflow:hidden}
.profile-hero:before{content:"";position:absolute;inset:0 0 auto;height:78px;background:linear-gradient(125deg,#0b513c,#0e7a56)}
.profile-hero .avatar{margin:2px auto 8px;width:76px;height:76px;border-radius:24px;border:4px solid #fff;font-size:25px;position:relative;z-index:1;background:#e6f0ff}
.profile-hero h3{margin:0;font-size:17px}
.profile-hero .sub{font-size:12.5px;color:var(--muted);margin-top:2px}
.menu{overflow:hidden}
.menu-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border-bottom:1px solid var(--line);width:100%;text-align:left;font-size:13.5px}
.menu-item:last-child{border-bottom:0}
.menu-item .mic{width:34px;height:34px;border-radius:10px;background:var(--bg);display:grid;place-items:center;color:#5a7288;flex:none}
.menu-item .arrow{margin-left:auto;color:#a9b7c3}
.menu-item .badge{background:#fdf0e6;color:#b9741f;font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:99px}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:14px 0;border-top:1px solid var(--line);margin-top:16px;position:relative;z-index:1}
.stat-row b{display:block;font-size:16px}
.stat-row span{font-size:10.5px;color:var(--muted)}

/* ---------- pay / donation ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cat{padding:15px;display:flex;align-items:center;gap:11px}
.cat .cic{width:42px;height:42px;border-radius:13px;background:var(--em3);color:var(--em);display:grid;place-items:center;flex:none}
.cat b{display:block;font-size:13.3px}
.cat span{font-size:11px;color:var(--muted)}
.prod{display:flex;align-items:center;gap:11px;padding:13px;border-bottom:1px solid var(--line);width:100%;text-align:left}
.prod:last-child{border-bottom:0}
.prod .pinfo{flex:1}
.prod b{font-size:13.3px;display:block}
.prod span{font-size:11.3px;color:var(--muted)}
.prod .price{font-size:13.3px;font-weight:750;color:var(--em)}
.camp{padding:0;overflow:hidden;margin-bottom:12px}
.camp .cover{height:86px;background:linear-gradient(125deg,#0b513c,#12a374);position:relative;display:flex;align-items:flex-end;padding:12px}
.camp .cover span{position:relative;color:#fff;font-size:11px;background:rgba(255,255,255,.18);padding:3px 9px;border-radius:99px}
.camp .body{padding:14px}
.camp h3{margin:0 0 4px;font-size:14.5px}
.camp p{margin:0 0 10px;font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bar{height:7px;border-radius:99px;background:var(--bg);overflow:hidden;margin:8px 0 6px}
.bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--em2),var(--em))}
.money{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted)}
.money b{color:var(--em);font-size:12.5px}
.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.amount-grid button{padding:10px;border:1px solid var(--line);border-radius:11px;font-size:12.5px;font-weight:600;background:#fff}
.amount-grid button.on{border-color:var(--em);background:var(--em3);color:var(--em)}

/* ---------- modal/toast ---------- */
.overlay{position:fixed;inset:0;background:rgba(8,24,18,.45);z-index:90;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}
.sheet{background:#fff;width:100%;max-width:520px;border-radius:22px 22px 0 0;padding:18px 18px calc(20px + env(safe-area-inset-bottom));max-height:88vh;overflow:auto;animation:up .22s ease-out}
@keyframes up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.sheet-head b{font-size:15.5px}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:92px;z-index:120;background:#0b1f3a;color:#fff;padding:11px 16px;border-radius:12px;font-size:12.8px;max-width:88%;box-shadow:0 10px 30px rgba(0,0,0,.25);animation:up .2s}
.toast.ok{background:#0e7a56}
.toast.err{background:#a3352a}

/* ---------- desktop ---------- */
@media(min-width:860px){
  .auth-wrap{grid-template-columns:1.05fr .95fr;min-height:100vh;align-items:stretch}
  .auth-hero{padding:60px 54px;display:flex;flex-direction:column;justify-content:center}
  .auth-hero h2{font-size:34px}
  .auth-card{margin:0;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:48px 56px}
  .auth-inner{max-width:400px;width:100%;margin:0 auto}
  .page{padding:22px 20px 12px}
  .quick{grid-template-columns:repeat(4,1fr);gap:12px}
  .two-col{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;align-items:start}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .bottom{position:sticky;bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -6px 20px rgba(11,31,58,.05)}
  .hero h2{font-size:25px}
  .chat-room{height:calc(100vh - 150px)}
  .sheet{border-radius:20px;margin-bottom:6vh}
  .overlay{align-items:center}
}

/* ---------- admin ---------- */
.admin{display:grid;grid-template-columns:1fr;min-height:100vh;background:#f3f6f4}
.aside{background:#0b1f3a;color:#fff;padding:16px 14px;display:none}
.aside .brand h1{font-size:15px}
.aside .logo{width:38px;height:38px;border-radius:11px;font-size:13px}
.aside nav{margin-top:22px;display:flex;flex-direction:column;gap:3px}
.aside nav a{padding:10px 12px;border-radius:10px;font-size:13px;color:#c3d2df;display:flex;gap:9px;align-items:center}
.aside nav a.on,.aside nav a:hover{background:rgba(255,255,255,.1);color:#fff}
.aside nav small{color:#7f95a8;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;margin:14px 0 5px 12px;display:block}
.amain{padding:14px 14px 40px;min-width:0}
.atop{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.atop h2{font-size:19px;margin:0}
.atop .grow{flex:1}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}
.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;box-shadow:var(--shadow2)}
.stat span{font-size:11px;color:var(--muted);display:block}
.stat b{font-size:20px;letter-spacing:-.4px;display:block;margin-top:3px}
.stat em{font-style:normal;font-size:10.5px;color:var(--em)}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:14px;box-shadow:var(--shadow2)}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);gap:10px;flex-wrap:wrap}
.panel-head b{font-size:14px}
.panel-head .muted{font-size:11.5px}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:12.3px;min-width:560px}
th{text-align:left;padding:9px 12px;background:#f8faf9;color:#6e8093;font-weight:650;font-size:11px;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}
td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:middle}
td b{font-size:12.5px}
.pillst{display:inline-block;padding:2px 8px;border-radius:99px;font-size:10.5px;font-weight:700}
.pillst.ok{background:#e7f5ef;color:#0b6b4c}
.pillst.wait{background:#fdf3e2;color:#a5701c}
.pillst.no{background:#fdecea;color:#a3352a}
.abtns{display:flex;gap:5px;flex-wrap:wrap}
.abtn{padding:5px 9px;border-radius:8px;font-size:11px;font-weight:650;background:var(--em3);color:var(--em)}
.abtn.no{background:#fdecea;color:var(--red)}
.abtn.line{background:#fff;border:1px solid var(--line);color:#4b6076}
@media(min-width:900px){
  .admin{grid-template-columns:236px 1fr}
  .aside{display:block;position:sticky;top:0;height:100vh;overflow:auto}
  .stats{grid-template-columns:repeat(4,1fr)}
  .amain{padding:22px 24px}
}

/* ================= BERANDA MODEL REFERENSI ================= */
.home{background:var(--bg);min-height:100vh}
.home-head{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(160deg,#4f97ff 0%,#1f7bff 38%,#0a6cff 68%,#0052d9 100%);
  padding:calc(14px + env(safe-area-inset-top)) 16px 36px;
}
.home-head:before{content:"";position:absolute;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.10);right:-70px;top:-90px}
.home-head:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.08);left:-60px;bottom:-40px}
.hh-top{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
.hh-brand{display:flex;align-items:center;gap:9px;flex:1}
.hh-brand .logo{width:36px;height:36px;border-radius:11px;background:#fff;color:var(--em);font-size:13px;box-shadow:0 4px 12px rgba(9,42,102,.18)}
.hh-word{display:flex;flex-direction:column;line-height:1.1}
.hh-word b{font-size:14.5px;letter-spacing:.3px;font-weight:800}
.hh-word span{font-size:10.5px;opacity:.9;letter-spacing:.4px}
.hh-actions{display:flex;align-items:center;gap:6px}
.hh-actions button{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.14);position:relative}
.hh-actions button:last-child{background:transparent}
.hh-dot{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#fff;border:1.5px solid #0a6cff}
.hh-greet{margin-top:16px;position:relative;z-index:1}
.hh-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hh-line b{font-size:16.5px;font-weight:800;letter-spacing:-.2px}
.hh-badge{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:10px;font-weight:700;padding:2px 9px;border-radius:99px;letter-spacing:.3px}
.hh-greet p{margin:3px 0 0;font-size:12px;color:rgba(255,255,255,.88)}
.hsearch{
  margin-top:14px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:13px;
  padding:5px 5px 5px 12px;box-shadow:0 8px 20px rgba(9,42,102,.16);position:relative;z-index:1
}
.hsearch svg{color:#9ea1a8;flex:none}
.hsearch input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:12.8px;color:#13161f}
.hsearch input::placeholder{color:#9ea1a8}
.hsearch button{flex:none;height:34px;padding:0 16px;border-radius:10px;background:var(--em);color:#fff;font-size:12.5px;font-weight:700}
.home-body{padding:0 14px 18px;margin-top:-20px;position:relative;z-index:2}
.balcard{background:#fff;border-radius:20px;padding:15px 16px 13px;box-shadow:0 10px 26px rgba(10,36,80,.08)}
.bc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bc-lbl{font-size:9.5px;font-weight:800;letter-spacing:.7px;color:#6c6f76;text-transform:uppercase}
.bc-pill{display:inline-flex;align-items:center;gap:5px;height:33px;padding:0 12px;border:1px solid #e6e7e9;border-radius:14px;font-size:12.5px;font-weight:700;color:#13161f;background:#fff}
.bc-big{font-size:30px;font-weight:800;color:var(--em);letter-spacing:-1px;line-height:1.15;margin-top:6px}
.bc-big span{font-size:14px;font-weight:700;color:#13161f;margin-left:5px;letter-spacing:0}
.bc-sub{font-size:11px;color:#6c6f76;margin-top:1px}
.bc-div{height:1px;background:#f0f0f0;margin:11px 0 10px}
.bc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bc-stats span{display:block;font-size:10px;color:#6c6f76}
.bc-stats b{display:block;font-size:15.5px;font-weight:800;margin-top:1px;letter-spacing:-.3px}
.bc-stats b.pos{color:#0f9467}
.mgrid-card{background:#fff;border-radius:20px;padding:13px 8px 9px;margin-top:11px;box-shadow:0 6px 18px rgba(10,36,80,.06)}
.mgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 2px}
.mitem{display:flex;flex-direction:column;align-items:center;gap:6px;padding:3px 0;font-size:10.3px;font-weight:600;color:#1b1e27;text-align:center}
.mico{width:44px;height:44px;border-radius:50%;background:#eaf2ff;color:var(--em);display:grid;place-items:center;position:relative}
.mnew{position:absolute;top:-5px;left:-7px;background:linear-gradient(145deg,#f64146,#ea4c49);color:#fff;font-size:7px;font-weight:800;font-style:normal;padding:2px 5px;border-radius:99px;letter-spacing:.2px}
.promo-card{position:relative;margin-top:11px;border-radius:20px;padding:13px 14px 12px;color:#fff;overflow:hidden;min-height:118px;background:linear-gradient(120deg,#ff8a2c,#0052d9)}
.promo-card.deep{background:linear-gradient(120deg,#0052d9,#003fa8)}
.promo-card.soft{background:linear-gradient(120deg,#0a6cff,#4f97ff)}
.promo-card:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.09);right:-50px;top:-60px}
.promo-inner{position:relative;z-index:1;display:flex}
.promo-txt{max-width:70%;padding-left:20px}
.promo-txt b{display:block;font-size:13.6px;font-weight:800;line-height:1.3}
.promo-txt ul{list-style:none;margin:7px 0 0;padding:0}
.promo-txt li{display:flex;align-items:center;gap:4px;font-size:8.8px;opacity:.95;margin:2px 0;line-height:1.3}
.promo-txt li svg{flex:none;opacity:.9}
.promo-art{position:absolute;right:14px;bottom:-6px;width:96px;height:96px}
.pa{position:absolute;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.18)}
.pa.a1{width:54px;height:54px;right:8px;bottom:8px}
.pa.a2{width:36px;height:36px;right:58px;bottom:34px}
.pa.a3{width:30px;height:30px;right:46px;bottom:2px}
.promo-arrow{position:absolute;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.16);color:#fff;display:grid;place-items:center;z-index:2}
.promo-arrow.left{left:6px}
.promo-arrow.right{right:6px}
.promo-dots{display:flex;justify-content:center;gap:5px;margin-top:9px;position:relative;z-index:1}
.promo-dots i{width:5px;height:5px;border-radius:99px;background:rgba(255,255,255,.5)}
.promo-dots i.on{width:16px;background:#fff}
.ajak{font-size:13.6px;font-weight:800;line-height:1.35;color:#13161f;margin:13px 4px 0;padding-right:56px;letter-spacing:-.1px}
.sect-head2{display:flex;align-items:center;justify-content:space-between;margin:17px 2px 9px;padding-right:66px}
.sect-head2 h3{margin:0;font-size:16px;font-weight:800;letter-spacing:-.2px}
.sect-head2 a{font-size:12.5px;font-weight:700;color:var(--em)}
.hscroll{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:1px 14px 6px}
.hscroll::-webkit-scrollbar{display:none}
.acard{flex:none;width:132px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px;text-align:left;display:flex;flex-direction:column;gap:1px;box-shadow:0 4px 12px rgba(10,36,80,.05)}
.acard-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:5px}
.acard-badge{font-style:normal;font-size:9px;font-weight:800;background:var(--em3);color:var(--em);padding:2px 6px;border-radius:6px}
.acard b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.acard small{font-size:10.2px;color:#6c6f76}
.acard em{font-style:normal;font-size:9.2px;font-weight:600;background:#f6f7fa;color:#6c6f76;padding:2px 6px;border-radius:6px;margin-top:6px;align-self:flex-start}
.fab{
  position:fixed;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:45;
  width:55px;height:55px;border-radius:50%;background:linear-gradient(145deg,#ff8a2c,#0a6cff);color:#fff;
  display:grid;place-items:center;box-shadow:0 10px 24px rgba(10,108,255,.42)
}
@media(min-width:860px){
  .sect-head2{padding-right:0}
  .fab{right:calc((100vw - 1080px)/2 + 18px)}
  .home-head{padding-left:22px;padding-right:22px}
  .home-body{padding-left:22px;padding-right:22px}
  .hscroll{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}
}

/* ================= NAVIGASI BAWAH GAYA FACEBOOK ================= */
.shell{padding-bottom:104px}
.bottom{
  position:fixed;left:50%;right:auto;transform:translateX(-50%);
  bottom:calc(10px + env(safe-area-inset-bottom));
  width:calc(100% - 20px);max-width:600px;
  background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:30px;
  box-shadow:0 8px 26px rgba(11,31,58,.18);
  display:flex;align-items:center;justify-content:space-between;gap:2px;
  padding:7px 8px;margin:0 auto;z-index:60
}
.bnav{flex:1;display:flex;align-items:center;justify-content:center;padding:0;background:none}
.bnav-ic{position:relative;width:100%;max-width:56px;height:42px;border-radius:22px;display:grid;place-items:center;color:#5f6368;transition:background .18s,color .18s}
.bnav.on .bnav-ic{background:#e7f0ff;color:var(--em)}
.bnav:active .bnav-ic{background:#f0f2f5}
.bnav-badge{
  position:absolute;top:1px;right:7px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;
  background:#e41e3f;color:#fff;font-size:9.5px;font-weight:800;font-style:normal;
  display:grid;place-items:center;border:2px solid #fff;line-height:1
}
.toast{bottom:96px}

/* ================= AKTIVITAS — DESAIN FACEBOOK ================= */
.fb-wrap{background:#f0f2f5;min-height:100vh;padding-bottom:14px}
.fb-top{
  position:sticky;top:0;z-index:35;background:#fff;display:flex;align-items:center;gap:8px;
  padding:9px 12px;box-shadow:0 1px 4px rgba(0,0,0,.09)
}
.fb-burger{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#1c1e21;flex:none}
.fb-burger:active{background:#f0f2f5}
.fb-word{display:flex;align-items:baseline;gap:3px;flex:1;min-width:0;color:var(--em);line-height:1;letter-spacing:-.7px}
.fb-word span{font-size:21px;font-weight:500}
.fb-word b{font-size:21px;font-weight:800}
.fb-top-actions{display:flex;align-items:center;gap:6px}
.fb-top-actions button{
  position:relative;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  color:#1c1e21;background:#f0f2f5;flex:none
}
.fb-top-actions button:active{background:#e4e6eb}
.fb-top-actions .fb-plus{background:#e7f0ff;color:var(--em)}
.fb-badge{
  position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;
  background:#e41e3f;color:#fff;font-size:10px;font-weight:800;font-style:normal;
  display:grid;place-items:center;border:2px solid #fff
}
.fb-scroll{max-width:640px;margin:0 auto;padding:8px 8px 0}
.fb-compose{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.1);overflow:hidden}
.fb-compose-row{display:flex;align-items:center;gap:9px;width:100%;padding:12px;text-align:left}
.fb-compose-row>span{flex:1;font-size:15px;color:#65676b;line-height:1.3}
.fb-compose-photo{width:34px;height:34px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center;color:#45bd62;flex:none;font-style:normal}
.fb-compose-note{display:flex;align-items:center;gap:6px;margin:0 12px 8px;padding:7px 9px;border-radius:8px;background:#fdf3e2;color:#a5701c;font-size:11.5px}
.fb-compose-actions{display:flex;border-top:1px solid #e4e6eb;padding:4px}
.fb-compose-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 4px;border-radius:8px;font-size:12.5px;font-weight:600;color:#65676b;min-width:0}
.fb-compose-actions button:active{background:#f0f2f5}
.fb-compose-actions button:nth-child(1) svg{color:#1877f2}
.fb-compose-actions button:nth-child(2) svg{color:#f7a51c}
.fb-compose-actions button:nth-child(3) svg{color:#0f9467}
.fb-compose-actions span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.fb-stories{display:flex;gap:7px;overflow-x:auto;padding:10px 0 6px;scrollbar-width:none}
.fb-stories::-webkit-scrollbar{display:none}
.fb-story{
  position:relative;flex:none;width:112px;height:190px;border-radius:12px;overflow:hidden;
  box-shadow:0 1px 4px rgba(0,0,0,.16);text-align:left;background:#444;padding:0
}
.fb-story:active{transform:scale(.985)}
.fb-story:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:80px;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.62));pointer-events:none
}
.fb-story.create{background:#fff;display:flex;flex-direction:column}
.fb-story.create:after{display:none}
.fb-story-top{flex:1;width:100%;background:linear-gradient(150deg,#1f7bff,#0a6cff 55%,#0052d9)}
.fb-story-top:after{
  content:"";position:absolute;left:18px;top:26px;width:76px;height:76px;border-radius:50%;
  border:2px solid rgba(255,255,255,.22)
}
.fb-story-plus{
  position:absolute;left:50%;bottom:38px;transform:translateX(-50%);
  width:36px;height:36px;border-radius:50%;background:var(--em);color:#fff;
  border:3px solid #fff;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.22);z-index:2
}
.fb-story-lbl{position:absolute;left:0;right:0;bottom:0;height:42px;display:grid;place-items:center;background:#fff;font-size:12px;font-weight:700;color:#1c1e21;z-index:2}
.fb-story-av{
  position:absolute;top:9px;left:9px;z-index:3;padding:2px;border-radius:50%;background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.25)
}
.fb-story-av .avatar{width:34px;height:34px;font-size:12px}
.fb-story-ico{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.4)}
.fb-story-name{
  position:absolute;left:8px;right:8px;bottom:9px;z-index:2;color:#fff;font-size:12px;font-weight:700;
  line-height:1.25;text-shadow:0 1px 6px rgba(0,0,0,.5);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}

.fb-tabs{
  position:sticky;top:56px;z-index:25;display:flex;background:#fff;border-radius:12px 12px 0 0;
  box-shadow:0 1px 2px rgba(0,0,0,.1);padding:0 4px;margin-top:2px
}
.fb-tabs button{flex:1;position:relative;padding:12px 6px;font-size:13.5px;font-weight:650;color:#65676b}
.fb-tabs button.on{color:var(--em)}
.fb-tabs button.on:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:3px;border-radius:2px;background:var(--em)}

.fb-post{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.1);margin-top:8px;overflow:hidden;transition:opacity .18s,transform .18s}
.fb-post.hide{opacity:0;transform:scale(.98)}
.fb-ph{display:flex;align-items:center;gap:9px;padding:12px 12px 0}
.fb-ph .avatar{width:40px;height:40px;font-size:14px}
.fb-ph-info{flex:1;min-width:0}
.fb-ph b{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:650;line-height:1.25}
.fb-verify{color:var(--em);display:inline-flex}
.fb-sub{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#65676b;margin-top:1px;flex-wrap:wrap}
.fb-pin{color:#65676b}
.fb-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#65676b;flex:none}
.fb-icon:active{background:#f0f2f5}
.fb-body{padding:9px 12px 10px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word;color:#050505}
.fb-more{color:#65676b;font-weight:600}
.fb-counts{display:flex;align-items:center;gap:5px;padding:0 12px 8px;font-size:12.5px;color:#65676b}
.fb-counts.zero{display:none}
.fb-react{width:19px;height:19px;border-radius:50%;background:linear-gradient(145deg,#18a7ff,#0a6cff);color:#fff;display:grid;place-items:center;flex:none}
.fb-counts-r{margin-left:auto}
.fb-sep{height:1px;background:#e4e6eb;margin:0 12px}
.fb-acts{display:flex;padding:3px}
.fb-act{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 4px;border-radius:8px;color:#65676b;font-weight:600;font-size:13px;min-width:0}
.fb-act span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-act:active{background:#f0f2f5}
.fb-act.on{color:var(--em)}
.fb-act.on svg path{fill:rgba(10,108,255,.12)}
.fb-empty{background:#fff;border-radius:12px;text-align:center;padding:34px 20px;margin-top:8px;color:#65676b;font-size:13px}
.fb-empty b{display:block;font-size:15px;color:#1c1e21;margin-bottom:3px}
.fb-empty p{margin:0 0 12px;font-size:12.5px}
.fb-empty-ic{width:54px;height:54px;border-radius:50%;background:#e7f0ff;color:var(--em);display:grid;place-items:center;margin:0 auto 10px}
.fb-events{padding-top:2px}
.fb-events .event{border-radius:12px;margin-top:8px;background:#fff;border:1px solid #e9eef6}

/* story viewer */
.fb-storyview{
  position:fixed;inset:0;z-index:140;color:#fff;display:flex;flex-direction:column;
  padding:calc(16px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  animation:fadein .18s ease-out
}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.fb-storyview:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.28);pointer-events:none}
.fb-sv-progress{position:relative;height:3px;border-radius:2px;background:rgba(255,255,255,.3);overflow:hidden}
.fb-sv-progress i{display:block;height:100%;width:100%;background:#fff;animation:svbar 9s linear forwards}
@keyframes svbar{from{width:0}to{width:100%}}
.fb-sv-top{position:relative;display:flex;align-items:center;gap:9px;margin-top:14px}
.fb-sv-top b{display:block;font-size:14.5px;line-height:1.2}
.fb-sv-top span{font-size:11.5px;opacity:.85}
.fb-sv-top div{flex:1;min-width:0}
.fb-sv-top button{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.16)}
.fb-sv-body{position:relative;margin:auto;max-width:560px;text-align:center;font-size:20px;line-height:1.5;font-weight:600;white-space:pre-wrap;word-break:break-word;padding:22px 0;max-height:60vh;overflow:auto}
.fb-sv-foot{position:relative;display:flex;gap:8px}
.fb-sv-foot button{
  flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border-radius:99px;
  background:rgba(255,255,255,.16);color:#fff;font-size:13.5px;font-weight:650;border:1px solid rgba(255,255,255,.18)
}
.fb-sv-hint{position:relative;text-align:center;font-size:10.5px;opacity:.7;margin-top:10px}

/* sheet & menu */
.fb-sheet-user{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.fb-sheet-user b{font-size:14px;display:block;line-height:1.2}
.fb-ta{
  width:100%;border:0;outline:0;background:#f0f2f5;border-radius:12px;padding:13px;
  font-size:15px;min-height:120px;resize:vertical;margin-bottom:12px
}
.fb-ta:focus{background:#eef4ff}
.fb-menu{display:flex;flex-direction:column;gap:3px;max-height:60vh;overflow:auto}
.fb-menu button{display:flex;align-items:center;gap:10px;padding:10px 6px;border-radius:10px;font-size:13.8px;font-weight:550;text-align:left;width:100%;color:#1c1e21}
.fb-menu button:active{background:#f0f2f5}
.fb-menu button.danger{color:var(--red)}
.fb-mic{width:34px;height:34px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center;color:#4b6076;flex:none}
@media(min-width:700px){
  .fb-top{padding-left:calc((100% - 656px)/2);padding-right:calc((100% - 656px)/2)}
  .fb-scroll{padding-left:0;padding-right:0}
  .fb-tabs{top:56px}
}

/* ---------- composer multi-tipe (teks/foto/video/donasi) ---------- */
.fb-ctype{display:flex;gap:6px;margin:0 0 12px;overflow-x:auto;scrollbar-width:none}
.fb-ctype::-webkit-scrollbar{display:none}
.fb-ctype button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 6px;border-radius:10px;background:#f0f2f5;color:#65676b;font-size:12px;font-weight:650;white-space:nowrap}
.fb-ctype button.on{background:#e7f0ff;color:var(--em)}
.fb-panel{display:none}
.fb-panel.on{display:block}
.fb-hint{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#65676b;background:#f7f8fa;border-radius:9px;padding:8px 10px;margin-bottom:9px;line-height:1.35}
.fb-input{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;outline:none;background:#fbfcfb;font-size:13.5px;margin-bottom:9px}
.fb-input:focus{border-color:var(--em2);background:#fff}
.fb-file{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1.5px dashed #b9c9dd;border-radius:12px;padding:16px 12px;color:#41566b;cursor:pointer;background:#f8fbff;margin-bottom:9px;text-align:center}
.fb-file span{font-size:13px;font-weight:650}
.fb-file em{font-style:normal;font-size:10.5px;color:#8b9bab}
.fb-file svg{color:var(--em)}
.fb-prev{position:relative;border-radius:12px;overflow:hidden;margin-bottom:9px}
.fb-prev:empty{display:none}
.fb-prev img{display:block;width:100%;max-height:260px;object-fit:cover}
.fb-prev video{display:block;width:100%;max-height:280px;background:#000}
.fb-or{display:flex;align-items:center;gap:8px;margin:2px 0 9px;color:#8b9bab;font-size:10.5px}
.fb-or:before,.fb-or:after{content:"";height:1px;background:#e4e6eb;flex:1}
.fb-prev-x{position:absolute;top:7px;right:7px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center}
.fb-sheet-user .avatar{width:42px;height:42px}

/* ---------- media pada postingan ---------- */
.fb-media{background:#0b0f14}
.fb-media img{display:block;width:100%;max-height:520px;object-fit:cover}
.fb-video{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}
.fb-linkcard{display:flex;align-items:center;gap:10px;padding:12px;margin:0 12px 10px;border:1px solid var(--line);border-radius:10px;color:#1c1e21;background:#f7f8fa}
.fb-linkcard div{flex:1;min-width:0}
.fb-linkcard b{display:block;font-size:13px}
.fb-linkcard span{display:block;font-size:11px;color:#65676b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- kartu galang donasi di feed ---------- */
.fb-camp{margin:2px 12px 12px;border:1px solid #e4e6eb;border-radius:12px;overflow:hidden;background:#fff}
.fb-camp-head{padding:12px;background:linear-gradient(135deg,#eaf2ff,#f7fbff)}
.fb-camp-tag{display:inline-flex;align-items:center;gap:4px;background:#e7f0ff;color:var(--em);font-size:10px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;padding:3px 8px;border-radius:99px}
.fb-camp-head b{display:block;font-size:14.5px;margin-top:6px;line-height:1.3}
.fb-camp-head p{margin:3px 0 0;font-size:12px;color:#65676b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fb-camp-body{padding:11px 12px 12px}
.fb-camp-body .bar{margin:0 0 6px;height:8px}
.fb-camp-money{display:flex;justify-content:space-between;font-size:11px;color:#65676b;gap:8px}
.fb-camp-money b{color:#0b6b4c;font-size:12.5px}
.fb-camp-deadline{display:flex;align-items:center;gap:4px;font-size:10.5px;color:#8b9bab;margin-top:5px}
.fb-camp-btn{width:100%;margin-top:9px;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;border-radius:9px;background:var(--em);color:#fff;font-weight:700;font-size:13px}
.fb-camp-btn:active{background:#0b5cd6}

/* ---------- story viewer: media ---------- */
.fb-sv-top .avatar{flex:none}
.fb-sv-img{display:block;max-width:100%;max-height:52vh;border-radius:14px;margin:0 auto 12px;object-fit:contain}
.fb-sv-text{font-size:17px;line-height:1.45;font-weight:500}
.fb-storyview .bar{background:rgba(255,255,255,.25)}
.fb-storyview .fb-camp{background:rgba(0,0,0,.28);border-color:rgba(255,255,255,.22);color:#fff}
.fb-storyview .fb-camp-head{background:rgba(255,255,255,.08)}
.fb-storyview .fb-camp-head p{color:rgba(255,255,255,.8)}
.fb-storyview .fb-camp-tag{background:rgba(255,255,255,.16);color:#fff}
.fb-storyview .fb-camp-money b{color:#fff}
.fb-storyview .fb-camp-deadline{color:rgba(255,255,255,.75)}

/* ================= LOGO GAMBAR (tanpa kotak) ================= */
.brand-logo{height:54px;width:auto;max-width:100%;display:block;filter:drop-shadow(0 6px 16px rgba(0,0,0,.18))}
.auth-hero .brand{flex-direction:column;align-items:flex-start;gap:8px}
.hh-logo{height:42px;width:auto;display:block;filter:drop-shadow(0 4px 12px rgba(9,42,102,.28))}
.top-logo{height:30px;width:auto;display:block;flex:none}
.fb-logo{height:36px;width:auto;display:block;flex:none}
.top-title small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aside-brand{flex-direction:column;align-items:flex-start;gap:6px}
.aside-logo{height:40px;width:auto;display:block}
.aside-brand small{color:#9db3c5;font-size:10px;letter-spacing:.8px;text-transform:uppercase}
@media(max-width:380px){
  .top-logo{height:23px}
  .hh-logo{height:35px}
}
