/* Evexity — phones (up to 960px). This is the mobile prototype's stylesheet ("Evexity — MVP v8"), the layout the
   team asked for, adapted from its 390×844 presentation frame to the real screen: sticky status strip, fixed
   bottom nav, bottom sheets. Wide screens use app.css instead (the two never load together). */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --brand:#00a651;--brand-light:#E1F5EE;--brand-dark:#007a3d;
  --purple:#7F77DD;--purple-light:#EEEDFE;
  --amber:#BA7517;--amber-light:#FAEEDA;
  --coral:#D85A30;--coral-light:#FAECE7;
  --blue:#378ADD;--blue-light:#E6F1FB;
  --red:#E24B4A;--red-light:#FCEBEB;
  --green-light:#EAF3DE;--green:#27500A;
  --bg:#F7F6F3;--surface:#FFFFFF;
  --border:rgba(0,0,0,0.09);--border-hard:rgba(0,0,0,0.14);
  --text-primary:#1A1A18;--text-secondary:#5F5E5A;--text-muted:#888780;
  --r-sm:8px;--r-md:12px;--r-lg:18px;
}
html,body{min-height:100%;}
body{font-family:'Schibsted Grotesk',system-ui,sans-serif;background:var(--bg);color:var(--text-primary);min-height:100vh;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;}
.app{min-height:100vh;background:var(--bg);position:relative;}
.sbar{position:sticky;top:0;z-index:20;height:calc(36px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;border-bottom:.5px solid var(--border);}
.screen{display:flex;flex-direction:column;min-height:calc(100vh - 36px - 64px);padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));}
.screen.fill{height:calc(100vh - 36px - env(safe-area-inset-top,0px));height:calc(100dvh - 36px - env(safe-area-inset-top,0px));min-height:0;overflow:hidden;}
.screen::-webkit-scrollbar{display:none;}
/* TOP BAR */
.tbar{background:var(--surface);padding:12px 16px 10px;border-bottom:.5px solid var(--border);}
.tbar h1{font-size:19px;font-weight:600;color:var(--text-primary);}
.tbar p{font-size:12px;color:var(--text-muted);margin-top:2px;}
.tbar-row{display:flex;align-items:center;justify-content:space-between;}
/* NAV */
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:25;height:calc(60px + env(safe-area-inset-bottom,0px));padding:0 0 env(safe-area-inset-bottom,0px);background:var(--surface);border-top:.5px solid var(--border);display:flex;align-items:center;justify-content:space-around;}
.ni{display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 6px;border-radius:var(--r-sm);cursor:pointer;border:none;background:none;flex:1;}
.ni.active .nicon,.ni.active .nlbl{color:var(--brand);}
.ni.active .nlbl{font-weight:600;}
.nicon{color:var(--text-muted);}
.nlbl{font-size:9px;color:var(--text-muted);white-space:nowrap;}
/* PILLS */
.pill{display:inline-flex;align-items:center;gap:3px;padding:3px 9px;border-radius:99px;font-size:11px;font-weight:500;}
.p-brand{background:var(--brand-light);color:var(--brand-dark);}
.p-purple{background:var(--purple-light);color:#3C3489;}
.p-amber{background:var(--amber-light);color:#633806;}
.p-coral{background:var(--coral-light);color:#712B13;}
.p-blue{background:var(--blue-light);color:#0C447C;}
.p-gray{background:#F1EFE8;color:#444441;}
.p-red{background:var(--red-light);color:#791F1F;}
.p-green{background:var(--green-light);color:var(--green);}
/* BUTTONS */
.btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 18px;border-radius:var(--r-sm);font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;border:none;width:100%;}
.btn-brand{background:var(--brand);color:white;}
.btn-out{background:transparent;border:.5px solid var(--border);color:var(--text-primary);}
/* DIVIDERS / GAPS */
.sgap{height:8px;background:var(--bg);}
.shead{padding:9px 16px 5px;font-size:10px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.07em;background:var(--bg);}
/* FORM */
.flbl{font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px;}
.fg{margin-bottom:13px;}
.finp{width:100%;background:var(--bg);border:.5px solid var(--border);border-radius:var(--r-sm);padding:10px 12px;font-size:14px;color:var(--text-primary);font-family:inherit;outline:none;}
.finp:focus{border-color:var(--brand);}
textarea.finp{resize:none;height:76px;}
/* TYPE PILLS */
.tpills{display:flex;gap:5px;flex-wrap:wrap;}
.tpill{padding:6px 12px;border-radius:99px;border:.5px solid var(--border);font-size:13px;cursor:pointer;background:var(--surface);color:var(--text-secondary);font-family:inherit;}
.tpill.sel{background:var(--brand);color:white;border-color:var(--brand);}
/* TOGGLE */
.tog{width:44px;height:26px;border-radius:99px;background:var(--brand);cursor:pointer;position:relative;flex-shrink:0;border:none;}
.tog::after{content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:white;top:3px;left:3px;transition:left .2s;}
.tog.off{background:#D3D1C7;}
.tog.off::after{left:21px;}
/* TOAST */

/* MODAL */
.moverlay{position:absolute;inset:0;background:rgba(0,0,0,.45);z-index:30;display:none;align-items:flex-end;}
.moverlay.open{display:flex;}
.modal{background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;width:100%;padding:14px 18px 30px;max-height:86%;overflow-y:auto;}
.modal::-webkit-scrollbar{display:none;}
.mhandle{width:36px;height:4px;border-radius:99px;background:var(--border);margin:0 auto 14px;}
.modal h2{font-size:16px;font-weight:600;margin-bottom:4px;}
.mnote{font-size:12px;padding:7px 10px;border-radius:var(--r-sm);margin-bottom:13px;}
/* MAP */
.map-area{flex:1;background:#DDE8D4;position:relative;overflow:hidden;}
.mgrid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);background-size:40px 40px;}
.mrh{position:absolute;left:0;right:0;background:rgba(255,255,255,.7);}
.mrv{position:absolute;top:0;bottom:0;background:rgba(255,255,255,.7);}
.mblk{position:absolute;border-radius:4px;background:rgba(180,200,165,.6);border:.5px solid rgba(140,170,120,.4);}
.mpin{position:absolute;transform:translate(-50%,-100%);cursor:pointer;display:flex;flex-direction:column;align-items:center;transition:transform .12s;}
.mpin:active{transform:translate(-50%,-108%);}
.mpbody{width:32px;height:32px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:flex;align-items:center;justify-content:center;border:2px solid white;}
.mpinner{transform:rotate(45deg);font-size:14px;}
.mpstem{width:2px;height:7px;opacity:.6;}
.motop{position:absolute;top:10px;left:10px;right:10px;display:flex;flex-direction:column;gap:7px;}
.msearch{background:white;border-radius:var(--r-sm);border:.5px solid var(--border);padding:9px 13px;font-size:14px;color:var(--text-muted);display:flex;align-items:center;gap:7px;}
.mfilters{display:flex;gap:5px;overflow-x:auto;}
.fc{background:white;border-radius:99px;border:.5px solid var(--border);padding:4px 11px;font-size:11px;font-weight:500;color:var(--text-secondary);cursor:pointer;white-space:nowrap;flex-shrink:0;}
.fc.on{background:var(--brand);color:white;border-color:var(--brand);}
.mfab{position:absolute;bottom:14px;right:14px;width:50px;height:50px;border-radius:50%;background:var(--brand);color:white;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;border:none;}
.mlegend{position:absolute;bottom:72px;left:10px;background:white;border-radius:var(--r-sm);border:.5px solid var(--border);padding:6px 10px;display:flex;flex-direction:column;gap:4px;}
.mleg-item{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--text-secondary);}
.ldot{width:9px;height:9px;border-radius:50%;flex-shrink:0;}
.sring{width:42px;height:42px;border-radius:50%;border:3px solid var(--brand);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sring span{font-size:14px;font-weight:600;color:var(--brand);}
.sbars{display:flex;gap:3px;margin-top:3px;}
.sbi{flex:1;height:4px;border-radius:99px;background:#E8E6E0;overflow:hidden;}
.sbf{height:100%;border-radius:99px;}
/* PIN DETAIL */
.pdetail{position:absolute;bottom:0;left:0;right:0;background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;padding:12px 15px 18px;border-top:.5px solid var(--border);z-index:5;}
.pdetail.hidden{display:none;}
.pdhandle{width:34px;height:4px;border-radius:99px;background:var(--border);margin:0 auto 10px;}
/* FEED */
.fpost{background:var(--surface);border-bottom:.5px solid var(--border);padding:13px 15px;}
.fpost.restricted{border-left:3px solid var(--red);}
.ph{display:flex;align-items:center;gap:9px;margin-bottom:8px;}
.av{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0;}
.pm strong{font-size:14px;color:var(--text-primary);}
.pm p{font-size:11px;color:var(--text-muted);}
.pbody{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-bottom:9px;}
.pacts{display:flex;align-items:center;gap:11px;}
.vcluster{display:flex;align-items:center;border:.5px solid var(--border);border-radius:99px;overflow:hidden;}
.vbtn{display:flex;align-items:center;justify-content:center;padding:5px 9px;cursor:pointer;background:none;border:none;font-size:12px;font-weight:600;color:var(--text-muted);}
.vbtn.up.act{color:var(--brand);background:var(--brand-light);}
.vbtn.down.act{color:var(--red);background:var(--red-light);}
.vc{font-size:13px;font-weight:500;padding:0 6px;border-left:.5px solid var(--border);border-right:.5px solid var(--border);}
.vc.pos{color:var(--brand);}
.vc.neg{color:var(--red);}
.pabtn{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--text-muted);cursor:pointer;background:none;border:none;font-family:inherit;padding:0;}
.cbar{background:var(--surface);padding:9px 15px;border-bottom:.5px solid var(--border);display:flex;align-items:center;gap:9px;}
.cinp{flex:1;background:var(--bg);border:.5px solid var(--border);border-radius:99px;padding:8px 13px;font-size:14px;color:var(--text-muted);cursor:pointer;}
.catpills{display:flex;gap:5px;overflow-x:auto;margin-top:9px;padding-bottom:1px;}
.catpill{background:#F1EFE8;color:#444441;border-radius:99px;padding:4px 12px;font-size:11px;font-weight:500;cursor:pointer;white-space:nowrap;flex-shrink:0;border:none;font-family:inherit;}
.catpill.active{background:var(--brand);color:white;}
.catpill.cat-safety.active{background:var(--coral);color:white;}
.catpill.cat-civic.active{background:var(--purple);color:white;}
.catpill.cat-discuss.active{background:var(--brand);color:white;}
.catpill.cat-rec.active{background:var(--blue);color:white;}
.rbanner{background:var(--red-light);border:.5px solid var(--red);border-radius:var(--r-sm);padding:9px 12px;margin:9px 15px;font-size:12px;color:#791F1F;line-height:1.5;}
/* PETITIONS */
.pcard{background:var(--surface);border-bottom:.5px solid var(--border);padding:13px 15px;}
.ptitle{font-size:15px;font-weight:600;color:var(--text-primary);margin-bottom:4px;line-height:1.4;}
.pdesc{font-size:13px;color:var(--text-secondary);margin-bottom:9px;line-height:1.5;}
.pbar-w{background:#E8E6E0;border-radius:99px;height:6px;margin-bottom:7px;overflow:hidden;}
.pbar-f{height:100%;border-radius:99px;background:var(--brand);transition:width .3s;}
.pfoot{display:flex;align-items:center;justify-content:space-between;}
.sbtn{padding:7px 15px;border-radius:99px;background:var(--brand);color:white;font-size:13px;font-weight:500;border:none;cursor:pointer;font-family:inherit;}
.sbtn.signed{background:var(--brand-light);color:var(--brand-dark);}
/* CHECK-IN */
.ci-hero{padding:16px 17px 18px;color:white;}
.ci-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:11px;}
.ci-stat{background:rgba(255,255,255,.18);border-radius:var(--r-sm);padding:9px;text-align:center;}
.ci-stat strong{font-size:18px;font-weight:600;display:block;}
.ci-stat span{font-size:10px;opacity:.85;}
.place-card{background:var(--surface);border-bottom:.5px solid var(--border);padding:12px 15px;display:flex;align-items:flex-start;gap:11px;}
.pico{width:42px;height:42px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;}
.pinfo{flex:1;min-width:0;}
.pinfo strong{font-size:14px;color:var(--text-primary);display:block;}
.pmeta{font-size:11px;color:var(--text-muted);margin-top:1px;}
.itag{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:500;color:#633806;background:var(--amber-light);padding:2px 8px;border-radius:99px;margin-top:4px;}
.pright{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0;}
.cibtn{padding:6px 11px;border-radius:99px;font-size:12px;font-weight:500;border:none;cursor:pointer;font-family:inherit;white-space:nowrap;}
.ci-idle{background:var(--amber);color:white;}
.ci-pub{background:var(--blue);color:white;}
.ci-done{background:var(--brand-light);color:var(--brand-dark);}
.ci-far{background:var(--red-light);color:#791F1F;}
/* REVIEW */
.rv-card{background:var(--surface);border-bottom:.5px solid var(--border);padding:12px 15px;}
.rv-head{display:flex;align-items:center;gap:9px;margin-bottom:8px;}
.rv-opts{display:flex;gap:6px;margin-bottom:7px;}
.rv-opt{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 5px;border-radius:var(--r-sm);border:.5px solid var(--border);cursor:pointer;background:var(--surface);font-family:inherit;}
.rv-opt.sg{background:var(--green-light);border-color:var(--brand);}
.rv-opt.sn{background:var(--blue-light);border-color:var(--blue);}
.rv-opt.sb{background:var(--red-light);border-color:var(--red);}
.rv-note{width:100%;background:var(--bg);border:.5px solid var(--border);border-radius:var(--r-sm);padding:8px 11px;font-size:13px;font-family:inherit;outline:none;resize:none;height:52px;margin-bottom:7px;}
.rv-sub{padding:7px 15px;border-radius:99px;background:var(--brand);color:white;font-size:13px;font-weight:500;border:none;cursor:pointer;font-family:inherit;}
/* AREA SCREEN */
.area-hero{padding:18px 17px 20px;color:white;}
.area-hero h2{font-size:21px;font-weight:600;margin-bottom:3px;}
.area-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:13px;}
.area-stat{background:rgba(255,255,255,.18);border-radius:var(--r-sm);padding:9px;}
.area-stat strong{font-size:20px;font-weight:600;display:block;}
.area-stat span{font-size:10px;opacity:.85;}
.insight{background:var(--surface);padding:13px 15px;border-bottom:.5px solid var(--border);display:flex;align-items:flex-start;gap:11px;}
.iico{width:34px;height:34px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;}
.ibody strong{font-size:14px;color:var(--text-primary);}
.ibody p{font-size:13px;color:var(--text-secondary);margin-top:2px;line-height:1.5;}
.ibody .src{font-size:11px;color:var(--text-muted);margin-top:3px;}
.comp-strip{background:var(--blue-light);padding:11px 15px;border-bottom:.5px solid var(--border);display:flex;align-items:center;gap:11px;}
.comp-strip p{font-size:13px;color:#0C447C;flex:1;line-height:1.5;}
.comp-btn{padding:7px 13px;border-radius:99px;background:var(--blue);color:white;font-size:12px;font-weight:500;border:none;cursor:pointer;font-family:inherit;white-space:nowrap;}
/* PROFILE */
.rankhero{color:white;padding:15px 17px 18px;transition:background .4s;}
.xpbar-w{height:8px;border-radius:99px;overflow:hidden;margin-top:7px;background:rgba(255,255,255,.25);}
.xpbar-f{height:100%;border-radius:99px;background:white;transition:width .4s;}
.xplbl{display:flex;justify-content:space-between;font-size:10px;opacity:.8;margin-top:3px;}
.stat-grid{display:grid;grid-template-columns:1fr 1fr 1fr;}
.scell{padding:11px;text-align:center;border-right:.5px solid var(--border);border-bottom:.5px solid var(--border);background:var(--surface);}
.scell:last-child{border-right:none;}
.scell strong{font-size:17px;font-weight:600;color:var(--text-primary);display:block;}
.scell span{font-size:10px;color:var(--text-muted);}
.arow{background:var(--surface);padding:11px 15px;border-bottom:.5px solid var(--border);display:flex;align-items:center;gap:11px;cursor:pointer;}
.aico{width:33px;height:33px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.abody{flex:1;}
.abody strong{font-size:14px;color:var(--text-primary);}
.abody p{font-size:11px;color:var(--text-muted);margin-top:1px;}
.axp{font-size:11px;font-weight:500;padding:3px 9px;border-radius:99px;background:var(--brand-light);color:var(--brand-dark);white-space:nowrap;}
.axp.done{background:var(--green-light);color:var(--green);}
/* BADGES */
.bgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:9px 15px;}
.bitem{display:flex;flex-direction:column;align-items:center;gap:3px;}
.bcirc{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:19px;border:2px solid var(--border);}
.bcirc.earned{border-color:transparent;}
.bcirc.locked{filter:grayscale(1);opacity:.3;}
.bname{font-size:9px;color:var(--text-secondary);text-align:center;line-height:1.3;}
/* LOCAL+ CARD */
.lplus{background:linear-gradient(135deg,#185FA5,#7F77DD);border-radius:var(--r-md);margin:12px 15px;padding:14px;color:white;}
.lplus h3{font-size:15px;font-weight:600;margin-bottom:3px;}
.lplus p{font-size:12px;opacity:.85;margin-bottom:10px;line-height:1.5;}
.lplus-feat{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;}
.lplus-feat span{font-size:12px;opacity:.9;display:flex;align-items:center;gap:6px;}
.lplus-btn{padding:9px 16px;border-radius:99px;background:white;color:#185FA5;font-size:13px;font-weight:600;border:none;cursor:pointer;font-family:inherit;width:100%;}
/* STREAK */
.streak-card{background:var(--surface);margin:0;padding:13px 15px;border-bottom:.5px solid var(--border);}
.streak-row{display:flex;gap:8px;margin-top:8px;}
.streak-node{flex:1;text-align:center;}
.streak-circle{width:42px;height:42px;border-radius:50%;border:2px solid var(--border);margin:0 auto 4px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--text-muted);}
.streak-circle.done{background:var(--amber);border-color:var(--amber);color:white;}
.streak-node span{font-size:9px;color:var(--text-muted);}
/* SURVEY */
.sq-step{display:none;}
.sq-step.active{display:block;}
.sq-prog{display:flex;gap:4px;margin-bottom:13px;}
.sq-dot{flex:1;height:3px;border-radius:99px;background:var(--border);}
.sq-dot.done{background:var(--brand);}
.sq-q{font-size:15px;font-weight:500;color:var(--text-primary);margin-bottom:3px;}
.sq-hint{font-size:12px;color:var(--text-muted);margin-bottom:11px;}
.sq-opts{display:flex;flex-direction:column;gap:7px;}
.sq-opt{padding:10px 13px;border-radius:var(--r-sm);border:.5px solid var(--border);font-size:14px;color:var(--text-secondary);cursor:pointer;background:var(--surface);font-family:inherit;text-align:left;}
.sq-opt.sel{background:var(--brand-light);border-color:var(--brand);color:var(--brand-dark);font-weight:500;}
/* GPS */
.gps-wrap{background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;width:100%;padding:18px 18px 32px;text-align:center;}
.gps-ring{width:64px;height:64px;border-radius:50%;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;}
.gps-wrap h3{font-size:16px;font-weight:600;margin-bottom:6px;}
.gps-wrap p{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-bottom:18px;}
.pulse{animation:pulse 1.2s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.35;}}
/* COMPARE */
.cmp-table{width:100%;border-collapse:collapse;margin-top:12px;}
.cmp-table th{font-size:11px;font-weight:500;color:var(--text-muted);padding:6px 8px;border-bottom:.5px solid var(--border);text-align:left;}
.cmp-table td{padding:9px 8px;border-bottom:.5px solid var(--border);font-size:13px;color:var(--text-secondary);}
.cmp-table td:first-child{color:var(--text-primary);font-weight:500;}
.cmp-win{color:var(--brand-dark);font-weight:500;}
.cmp-lose{color:#993C1D;}

:root{--club:#007a3d;--club-light:#DDF0E8;}
.nlbl{font-size:10px;}
.ni-plus{flex:1;display:flex;justify-content:center;align-items:center;border:none;background:none;cursor:pointer;}
.ni-plus span{width:48px;height:48px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:300;margin-top:-20px;border:4px solid var(--surface);box-shadow:0 3px 10px rgba(29,158,117,.35);line-height:1;}
/* segmented control */
.segwrap{background:var(--surface);padding:8px 12px;border-bottom:.5px solid var(--border);flex-shrink:0;}
.seg{display:flex;gap:3px;background:#EEECE6;border-radius:10px;padding:3px;}
.seg button{flex:1;border:none;background:none;padding:7px 4px;border-radius:8px;font-family:inherit;font-size:12px;font-weight:500;color:var(--text-secondary);cursor:pointer;}
.seg button.on{background:var(--surface);color:var(--text-primary);box-shadow:0 1px 2px rgba(0,0,0,.1);}
/* home */
.hhead{background:var(--surface);padding:12px 15px 10px;border-bottom:.5px solid var(--border);}
.hhead small{font-size:12px;color:var(--text-muted);}
.hhead h1{font-size:20px;font-weight:600;}
.catpill.join{background:transparent;border:1px dashed var(--border-hard);color:var(--text-secondary);}
.nextcard{margin:12px 15px 6px;border-radius:var(--r-md);padding:13px 14px;color:#fff;background:linear-gradient(135deg,#007a3d,#00a651);}
.nextcard .lbl{font-size:10px;text-transform:uppercase;letter-spacing:.07em;opacity:.8;}
.nextcard strong{font-size:16px;display:block;margin-top:3px;}
.nextcard p{font-size:12px;opacity:.9;margin-top:2px;}
.nextcard button{margin-top:10px;padding:7px 13px;border-radius:99px;border:none;background:#fff;color:var(--brand-dark);font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;}
.clubpost{background:var(--club-light);border-radius:var(--r-sm);padding:9px 11px;margin-bottom:9px;display:flex;align-items:center;gap:10px;cursor:pointer;}
.clubpost .e{font-size:22px;}
.clubpost strong{font-size:13px;color:var(--text-primary);display:block;}
.clubpost span{font-size:11px;color:var(--text-secondary);}
/* clubs */
.ccard{background:var(--surface);border-bottom:.5px solid var(--border);padding:12px 15px;display:flex;gap:11px;cursor:pointer;}
.cemoji{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;}
.cbody{flex:1;min-width:0;}
.cname{font-size:14px;font-weight:600;color:var(--text-primary);}
.cmeta{font-size:11px;color:var(--text-muted);margin-top:2px;}
.cprice{font-size:14px;font-weight:600;text-align:right;color:var(--text-primary);flex-shrink:0;max-width:92px;}
.cprice small{display:block;font-size:10px;font-weight:400;color:var(--text-muted);margin-top:2px;}
.spots{height:4px;background:#E8E6E0;border-radius:99px;overflow:hidden;margin-top:7px;}
.spots div{height:100%;border-radius:99px;}
.empty{padding:34px 24px;text-align:center;color:var(--text-muted);font-size:13px;line-height:1.6;}
.empty .e{font-size:34px;margin-bottom:8px;}
.hostcard{background:var(--surface);padding:14px 15px;border-bottom:.5px solid var(--border);}
.hstat{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px;}
.hstat div{background:var(--bg);border-radius:var(--r-sm);padding:9px;text-align:center;}
.hstat strong{display:block;font-size:17px;}
.hstat span{font-size:10px;color:var(--text-muted);}
.unlock{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:.5px solid var(--border);}
.unlock:first-of-type{border-top:none;}
.unlock .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;}
.unlock .t{flex:1;}
.unlock .t strong{font-size:13px;display:block;color:var(--text-primary);}
.unlock .t span{font-size:11px;color:var(--text-muted);}
.mini-bar{height:5px;background:#E8E6E0;border-radius:99px;overflow:hidden;margin-top:4px;}
.mini-bar div{height:100%;background:var(--amber);border-radius:99px;}
.linkbtn{background:none;border:none;color:var(--brand-dark);font-family:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:0;}
/* club detail */
.inforow{display:flex;gap:9px;font-size:13px;color:var(--text-secondary);padding:5px 0;}
.inforow b{color:var(--text-primary);font-weight:500;}
.sessrow{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:.5px solid var(--border);font-size:13px;}
.pbox{background:var(--bg);border-radius:var(--r-sm);padding:10px 12px;margin:12px 0;}
.prow{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font-size:13px;color:var(--text-secondary);}
.prow.tot{border-top:.5px solid var(--border-hard);margin-top:5px;padding-top:8px;font-weight:600;color:var(--text-primary);}
.pexp{font-size:11px;color:var(--text-muted);line-height:1.55;margin-top:7px;}
/* create sheet */
.cgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;}
.ctile{border:.5px solid var(--border-hard);border-radius:var(--r-md);padding:13px;display:flex;flex-direction:column;gap:4px;cursor:pointer;background:var(--surface);text-align:left;font-family:inherit;}
.ctile .ce{font-size:22px;margin-bottom:2px;}
.ctile strong{font-size:14px;color:var(--text-primary);}
.ctile span{font-size:11px;color:var(--text-muted);line-height:1.4;}
.ctile.wide{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px;}
/* host form */
.tpill.locked{opacity:.55;}
.tpills.g .tpill.sel{background:var(--brand);}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.hcalc{background:var(--brand-light);border-radius:var(--r-sm);padding:10px 12px;margin-bottom:13px;font-size:12px;color:var(--brand-dark);line-height:1.55;}
.hcalc .big{font-size:15px;font-weight:600;display:block;margin-bottom:2px;}
.proofbtn{width:100%;padding:10px;border-radius:var(--r-sm);border:1px dashed var(--border-hard);background:var(--surface);font-family:inherit;font-size:13px;color:var(--text-secondary);cursor:pointer;}
.proofbtn.ok{border-style:solid;border-color:var(--brand);background:var(--brand-light);color:var(--brand-dark);}
.lockmsg{font-size:11px;color:#633806;background:var(--amber-light);border-radius:var(--r-sm);padding:7px 10px;margin-top:7px;display:none;line-height:1.5;}


/* v7 communities */
.unread{background:var(--brand);color:#fff;font-size:10px;font-weight:600;border-radius:99px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 5px;}
.comrow{display:flex;gap:11px;padding:11px 15px;background:var(--surface);border-bottom:.5px solid var(--border);cursor:pointer;align-items:center;}
.comico{width:46px;height:46px;border-radius:13px;font-size:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.comrow .t{flex:1;min-width:0;}
.comrow strong{font-size:14px;color:var(--text-primary);}
.comrow .last{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;}
.comrow .r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;font-size:10px;color:var(--text-muted);}
.rule{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:1px 5px;border-radius:4px;background:#F1EFE8;color:#5F5E5A;margin-left:5px;vertical-align:2px;}
.rule.lock{background:var(--purple-light);color:#3C3489;}
.rule.adm{background:var(--amber-light);color:#633806;}
.scroll{flex:1;min-height:0;overflow-y:auto;}
.scroll::-webkit-scrollbar{display:none;}
.backbar{display:flex;align-items:center;gap:10px;padding:9px 12px;background:var(--surface);border-bottom:.5px solid var(--border);flex-shrink:0;}
.backbtn{border:none;background:none;font-size:26px;color:var(--brand-dark);cursor:pointer;padding:0 4px 2px;line-height:1;font-family:inherit;}
.backbar .ttl{flex:1;min-width:0;}
.backbar .ttl strong{font-size:15px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.backbar .ttl span{font-size:11px;color:var(--text-muted);}
.qact{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:12px 15px;background:var(--surface);border-bottom:.5px solid var(--border);}
.qact button{border:.5px solid var(--border);background:var(--bg);border-radius:var(--r-md);padding:9px 4px;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;position:relative;}
.qact button b{font-size:18px;font-weight:400;}
.qact button span{font-size:11px;color:var(--text-secondary);font-weight:500;}
.qact button i{position:absolute;top:4px;right:6px;font-style:normal;background:var(--coral);color:#fff;font-size:9px;font-weight:600;border-radius:99px;padding:1px 5px;}
.place{display:flex;gap:6px;flex-wrap:wrap;padding:10px 15px;background:var(--surface);border-bottom:.5px solid var(--border);}
.chat{flex:1;min-height:0;overflow-y:auto;background:#ECE8DF;padding:10px 12px;display:flex;flex-direction:column;gap:6px;}
.chat::-webkit-scrollbar{display:none;}
.bub{max-width:82%;background:#fff;border-radius:10px;padding:7px 10px;font-size:13px;line-height:1.45;box-shadow:0 1px .5px rgba(0,0,0,.1);color:var(--text-primary);align-self:flex-start;}
.bub.me{align-self:flex-end;background:#D9F5E8;}
.bub .who{font-size:11px;font-weight:600;margin-bottom:2px;color:var(--brand-dark);}
.bub .tm{font-size:9px;color:var(--text-muted);text-align:right;margin-top:3px;}
.bub .to{display:inline-block;font-size:10px;font-weight:600;color:#3C3489;background:var(--purple-light);border-radius:4px;padding:1px 6px;margin-bottom:4px;}
.bub .att{display:flex;align-items:center;gap:7px;background:var(--bg);border-radius:8px;padding:7px 9px;margin-top:5px;font-size:12px;}
.bub.sys{align-self:center;background:#FFF6D9;font-size:11px;color:#633806;text-align:center;max-width:92%;}
.rulebar{background:var(--amber-light);color:#633806;font-size:11px;padding:7px 12px;line-height:1.45;flex-shrink:0;}
.compose{display:flex;gap:7px;padding:8px 10px;background:var(--surface);border-top:.5px solid var(--border);flex-shrink:0;}
.compose input{flex:1;border-radius:99px;border:.5px solid var(--border);background:var(--bg);padding:9px 13px;font-family:inherit;font-size:14px;outline:none;}
.compose button{width:38px;height:38px;border-radius:50%;border:none;background:var(--brand);color:#fff;font-size:16px;cursor:pointer;}
.compose.ro{justify-content:center;font-size:12px;color:var(--text-muted);padding:12px;}
.iss{background:var(--surface);padding:12px 15px;border-bottom:.5px solid var(--border);display:flex;gap:11px;align-items:flex-start;}
.metoo{display:flex;flex-direction:column;align-items:center;justify-content:center;border:.5px solid var(--border-hard);border-radius:10px;width:48px;padding:6px 0;cursor:pointer;background:var(--surface);font-family:inherit;flex-shrink:0;color:var(--text-secondary);}
.metoo b{font-size:15px;color:var(--text-primary);}
.metoo span{font-size:9px;}
.metoo.on{background:var(--brand-light);border-color:var(--brand);color:var(--brand-dark);}
.metoo.on b{color:var(--brand-dark);}
.steps{display:flex;gap:3px;margin-top:7px;}
.steps div{flex:1;height:4px;border-radius:99px;background:#E8E6E0;}
.steps div.on{background:var(--brand);}
.dupebox{background:var(--amber-light);border-radius:var(--r-sm);padding:10px 12px;margin-bottom:13px;}
.dupebox p{font-size:12px;color:#633806;margin-bottom:7px;line-height:1.45;}
.dupe{display:flex;align-items:center;gap:9px;background:var(--surface);border-radius:var(--r-sm);padding:8px 10px;margin-top:6px;}
.dupe strong{font-size:13px;display:block;}
.dupe span{font-size:11px;color:var(--text-muted);}
.dupe button{padding:6px 10px;border-radius:99px;border:none;background:var(--brand);color:#fff;font-family:inherit;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;}
.svopt{display:block;width:100%;text-align:left;position:relative;overflow:hidden;padding:9px 12px;border-radius:var(--r-sm);border:.5px solid var(--border);background:var(--surface);font-family:inherit;font-size:13px;color:var(--text-primary);cursor:pointer;margin-top:6px;}
.svopt .fill{position:absolute;left:0;top:0;bottom:0;background:var(--brand-light);z-index:0;}
.svopt span{position:relative;z-index:1;}
.svopt em{position:relative;z-index:1;float:right;font-style:normal;color:var(--text-muted);font-size:12px;}
.svopt.mine{border-color:var(--brand);}
.card{background:var(--surface);padding:13px 15px;border-bottom:.5px solid var(--border);}
.doc{display:flex;align-items:center;gap:10px;padding:11px 15px;background:var(--surface);border-bottom:.5px solid var(--border);font-size:13px;}
.doc .d{width:34px;height:40px;border-radius:5px;background:var(--red-light);color:#791F1F;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;}

/* AUTH SCREEN */
.auth-screen{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:var(--surface);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);}
.auth-logo-area{padding:48px 28px 28px;text-align:center;}
.auth-wordmark{font-size:26px;font-weight:700;color:#0b0b0f;letter-spacing:-.5px;}
.auth-sub{font-size:13px;color:var(--text-muted);margin-top:3px;}
.auth-body{padding:0 24px 32px;display:flex;flex-direction:column;gap:12px;}
.social-btn{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:var(--r-md);border:.5px solid var(--border);background:var(--surface);font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;color:var(--text-primary);}
.social-btn svg{flex-shrink:0;}
.auth-divider{display:flex;align-items:center;gap:10px;margin:4px 0;}
.auth-divider::before,.auth-divider::after{content:'';flex:1;height:.5px;background:var(--border);}
.auth-divider span{font-size:12px;color:var(--text-muted);white-space:nowrap;}
.auth-email-wrap{position:relative;}
.auth-email-wrap input{width:100%;padding:13px 48px 13px 14px;border-radius:var(--r-md);border:.5px solid var(--border);font-size:14px;font-family:inherit;outline:none;color:var(--text-primary);background:var(--bg);}
.auth-email-wrap input:focus{border-color:var(--brand);}
.auth-send-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:var(--r-sm);background:var(--brand);color:white;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.auth-note{font-size:12px;color:var(--text-muted);text-align:center;line-height:1.5;}
/* VERIFY SCREENS */
.vscreen{padding:32px 24px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center;flex:1;justify-content:center;}
.vicon-circle{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36px;margin:0 auto;}
.vstep{display:flex;align-items:flex-start;gap:10px;text-align:left;background:var(--bg);border-radius:var(--r-md);padding:12px;width:100%;}
.vstep-num{width:24px;height:24px;border-radius:50%;background:var(--brand);color:white;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}

.splash{background:radial-gradient(120% 50% at 100% 0%,#efe6f1 0%,rgba(239,230,241,0) 60%),radial-gradient(90% 40% at 0% 100%,#e6f3ee 0%,rgba(230,243,238,0) 70%),#fafaf8;padding:22px 22px 26px;}
.sp-logo{display:flex;align-items:flex-end;gap:2px;}
.sp-logo span{font-family:'Bricolage Grotesque',sans-serif;font-weight:600;font-size:19px;letter-spacing:.01em;color:#0b0b0f;margin-bottom:2px;}
.sp-h{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:46px;line-height:1.02;letter-spacing:-.01em;color:#0b0b0f;margin:26px 0 24px;}
.sp-h em{font-style:italic;color:#6b2c91;}
.sp-list{display:flex;flex-direction:column;gap:14px;}
.sp-row{display:flex;gap:14px;align-items:flex-start;}
.sp-ic{width:42px;height:42px;flex-shrink:0;border:1px solid #e6e6e2;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;}
.sp-t{font-weight:600;font-size:15px;color:#0b0b0f;}
.sp-d{font-size:13px;color:#6b6c78;line-height:1.35;margin-top:2px;}
.sp-foot{margin-top:auto;padding-top:20px;}
.sp-btn{width:100%;height:52px;border-radius:999px;border:none;background:#0b0b0f;color:#fff;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;}
.sp-login{text-align:center;font-size:13px;color:#6b6c78;margin-top:12px;}
.sp-login button{background:none;border:none;font:inherit;font-weight:600;color:#0b0b0f;cursor:pointer;text-decoration:underline;}
.sp-note{font-size:12px;color:#8a8b95;margin-top:10px;}

/* ════════════════ APP ADDITIONS (real screen, data-driven views) ════════════════ */
[hidden]{display:none!important}
button,input,select,textarea{font-family:inherit;color:inherit}
a{color:var(--brand-dark);text-decoration:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.spinner{display:inline-block;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite;vertical-align:middle}
@keyframes spin{to{transform:rotate(360deg)}}
.tc{text-align:center}
.muted{color:var(--text-muted)}
.help{font-size:11px;color:var(--text-muted);line-height:1.45}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace}
.scroll{-webkit-overflow-scrolling:touch}

/* status strip (the prototype's status bar: location + XP) */
.sbar .em{width:20px;height:20px;flex-shrink:0}
.sbar-loc{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--brand);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;justify-content:center}
.sbar-loc.off{color:var(--text-muted)}
.sbar-xp{font-size:12px;font-weight:600;border:none;background:none;cursor:pointer;padding:0;white-space:nowrap}
.ni{position:relative;color:inherit}
.ni .dotn{position:absolute;top:1px;left:calc(50% + 5px);min-width:15px;height:15px;border-radius:99px;background:var(--coral);color:#fff;font-size:9px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* bottom sheets (the prototype's modals) */
.sheet-wrap{position:fixed;inset:0;z-index:60}
.sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .2s}
.sheet-wrap.open .sheet-backdrop{opacity:1}
.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;max-height:88vh;overflow-y:auto;transform:translateY(100%);transition:transform .25s ease;padding-bottom:env(safe-area-inset-bottom,0px);overscroll-behavior:contain}
.sheet-wrap.open .sheet{transform:none}
.sheet::-webkit-scrollbar{display:none}
.sheet-grip{width:36px;height:4px;border-radius:99px;background:var(--border-hard);margin:12px auto 14px}
.sheet-x{display:none}
.sheet-body{padding:0 18px 28px}
.sheet-body h2,.sheet-title{font-size:16px;font-weight:600;margin-bottom:8px;color:var(--text-primary)}
.sheet-sub{font-size:13px;color:var(--text-secondary);margin-bottom:12px;line-height:1.5}
.sheet-foot,.mrow{display:flex;gap:7px;margin-top:4px}
.sheet.sheet-center .sheet-body{padding-top:4px}
@media (prefers-reduced-motion:reduce){.sheet,.sheet-backdrop{transition:none}}

/* shared sheets written with the wide-screen classes (report, appeal, confirm, moderation) */
.btn.primary,.btn.accent{background:var(--brand);color:#fff}
.btn.ghost{background:transparent;border:.5px solid var(--border-hard);color:var(--text-primary)}
.btn.danger{background:var(--red);color:#fff}
.btn.done{background:var(--brand-light);color:var(--brand-dark)}
.btn.sm{width:auto;padding:7px 13px;font-size:13px}
.btn.xs{width:auto;padding:5px 10px;font-size:12px}
.btn[disabled]{opacity:.55;cursor:default}
.fld{display:flex;flex-direction:column;margin-bottom:13px}
.fld>label,.fld>.flbl{font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.inp{width:100%;background:var(--bg);border:.5px solid var(--border);border-radius:var(--r-sm);padding:10px 12px;font-size:14px;color:var(--text-primary);outline:none}
.inp:focus,.finp:focus{border-color:var(--brand)}
textarea.inp{resize:none;height:76px}
.fgrid{display:flex;flex-direction:column}
.sq{display:flex;flex-direction:column;gap:7px;margin-bottom:12px}
.sq button{padding:10px 13px;border-radius:var(--r-sm);border:.5px solid var(--border);font-size:14px;color:var(--text-secondary);background:var(--surface);text-align:left;cursor:pointer}
.sq button.on{background:var(--brand-light);border-color:var(--brand);color:var(--brand-dark);font-weight:500}
.note{font-size:12px;padding:8px 10px;border-radius:var(--r-sm);background:var(--bg);color:var(--text-secondary);margin-bottom:12px;line-height:1.5}
.note.warn{background:var(--amber-light);color:#633806}
.note.ok{background:var(--brand-light);color:var(--brand-dark)}
.note.info{background:var(--blue-light);color:#0C447C}
.simnote{font-size:11px;color:#633806;background:var(--amber-light);border-radius:var(--r-sm);padding:7px 10px;margin:2px 0 12px;line-height:1.45}
.simnote .ico{display:none}
.form-err{color:var(--red);font-size:12px;margin:0 0 10px;line-height:1.4}
.form-err:empty{display:none}
.or{display:block;text-align:center;font-size:11px;color:var(--text-muted);margin:-4px 0 9px}
.ico{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}

/* toasts: coloured pills under the status strip, as in the prototype */
#toast-host{position:fixed;top:calc(44px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:none;width:max-content;max-width:calc(100% - 24px)}
#toast-host .toast{background:#1A1A18;color:#fff;font-size:13px;font-weight:500;padding:8px 16px;border-radius:99px;opacity:0;transition:opacity .25s;display:flex;align-items:center;gap:8px;max-width:100%;line-height:1.35}
#toast-host .toast.show{opacity:1}
#toast-host .toast-xp{background:var(--brand)}
#toast-host .toast-warn{background:var(--coral)}
#toast-host .toast-badge{background:var(--purple);border-radius:14px;padding:8px 14px}
.toast .xp-chip{font-weight:700}
.toast small{font-weight:400;opacity:.9}
.badge-pop-ico{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.2);display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}

/* celebrations */
.celebrate{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:6px 0 2px;position:relative;overflow:hidden}
.celebrate h2{font-size:20px;font-weight:700}
.celebrate p{font-size:14px;color:var(--text-secondary);line-height:1.55}
.celebrate-ico{width:80px;height:80px;border-radius:50%;background:var(--brand-light);display:flex;align-items:center;justify-content:center;font-size:36px}
.celebrate-ico img{width:52px;height:52px}
.perk-list{list-style:none;display:flex;flex-direction:column;gap:5px;font-size:13px;text-align:left}
.perk-list li::before{content:"✓ ";color:var(--brand);font-weight:700}
.confetti{position:absolute;inset:0;pointer-events:none}
.confetti i{position:absolute;top:-10px;left:calc(var(--i) * 5.5%);width:6px;height:11px;border-radius:2px;background:var(--brand);animation:fall 1.6s ease-in calc(var(--i) * 40ms) forwards;opacity:0}
.confetti i:nth-child(3n){background:var(--purple)}.confetti i:nth-child(3n+1){background:var(--amber)}.confetti i:nth-child(4n){background:var(--blue)}
@keyframes fall{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(300px) rotate(260deg)}}
.logo-l{display:inline-block}.logo-d{display:none}

/* map: Leaflet with the prototype's teardrop pins */
.map-area{min-height:0}
.lmap{position:absolute;inset:0;z-index:0;background:#DDE8D4}
.leaflet-container{font:inherit}
.motop,.mlegend,.pdetail,.mapbtn{z-index:500}
.leaflet-marker-icon .mpin{position:static;transform:none}
.leaflet-marker-icon .mpin.on .mpbody{transform:rotate(-45deg) scale(1.2);box-shadow:0 2px 8px rgba(0,0,0,.3)}
.leaflet-marker-icon .mpin.dim{opacity:.25}
.mpin .ring{position:absolute;left:50%;top:10px;width:30px;height:30px;margin-left:-15px;border-radius:50%;background:var(--coral);opacity:.5;animation:ring 2.4s ease-out infinite;z-index:-1}
@keyframes ring{from{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(2.4)}}
.msearch input{border:none;outline:none;background:none;font-size:14px;flex:1;min-width:0;color:var(--text-primary)}
.youdot{width:16px;height:16px;border-radius:50%;background:var(--blue);border:3px solid #fff;box-shadow:0 0 0 8px rgba(55,138,221,.18)}
.mapbtn{position:absolute;right:10px;bottom:84px;width:40px;height:40px;border-radius:50%;background:#fff;border:.5px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px}
.mlegend{bottom:20px}
.pdetail{max-height:60%;overflow-y:auto}
.rbar{height:7px;border-radius:99px;overflow:hidden;display:flex;margin-bottom:5px}
.rbar i{display:block;height:100%}
.placing-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);z-index:450;pointer-events:none}

/* feed extras */
.fpost{cursor:pointer}
.fpost .ttl{font-size:14px;font-weight:600;color:var(--text-primary);line-height:1.4;margin-bottom:3px}
.fpost .pphoto{width:100%;max-height:260px;object-fit:cover;border-radius:var(--r-sm);margin-bottom:9px;display:block}
.fpost.open{cursor:default}
.fpost.open .pbody{-webkit-line-clamp:unset}
.fpost:not(.open) .pbody{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.avw{position:relative;flex-shrink:0}
.avw .dot{position:absolute;bottom:-2px;right:-2px;width:13px;height:13px;border-radius:50%;border:2px solid #fff}
.witstrip{background:var(--bg);border-radius:var(--r-sm);padding:6px 10px;margin-bottom:9px;font-size:12px;color:var(--text-muted)}
.witstrip button{background:none;border:none;color:var(--brand-dark);cursor:pointer;font-size:12px;padding:0}
.pabtn.on{color:var(--brand)}
.ex{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:1px 5px;border-radius:4px;background:var(--amber-light);color:#633806;margin-left:5px;vertical-align:1px}

/* post page: comments and composer */
.cmts{background:var(--surface)}
.cmt-row{display:flex;gap:9px;padding:10px 15px 8px;border-bottom:.5px solid var(--border)}
.cmt-row .av{width:28px;height:28px;font-size:10px}
.cmt-row .cb{flex:1;min-width:0}
.cmt-row .who{font-size:12px;color:var(--text-muted);display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.cmt-row .who strong{font-size:13px;color:var(--text-primary)}
.cmt-row .tx{font-size:13px;line-height:1.5;color:var(--text-secondary);white-space:pre-wrap;margin-top:2px}
.cmt-row.witness .tx{background:var(--coral-light);color:#712B13;border-radius:8px;padding:6px 9px;margin-top:4px}
.cmt-row.official .tx{background:var(--blue-light);color:#0C447C;border-radius:8px;padding:6px 9px;margin-top:4px}
.cmt-row.hid .tx{font-style:italic;color:var(--text-muted)}
.cacts{display:flex;align-items:center;gap:12px;margin-top:5px}
.cacts button{background:none;border:none;color:var(--text-muted);font-size:12px;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:3px}
.cacts button.on{color:var(--brand);font-weight:600}
.cacts .n{font-size:12px;font-weight:600;color:var(--text-secondary)}
.pcompose{position:fixed;left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom,0px));z-index:15;background:var(--surface);border-top:.5px solid var(--border)}
.pcompose .copts{display:flex;gap:6px;align-items:center;padding:7px 10px 0;flex-wrap:wrap;font-size:11px;color:var(--text-muted)}
.pcompose .copts .tpill{padding:3px 10px;font-size:11px}
.pcompose .compose{border-top:none}
.screen.withcompose{padding-bottom:calc(170px + env(safe-area-inset-bottom,0px))}

/* rows used across screens */
.arow .chev{color:var(--text-muted);font-size:18px}
.arow .axp.warn{background:var(--amber-light);color:#633806}
.arow .axp.gray{background:#F1EFE8;color:#5F5E5A}
.bcirc.earned{border-width:2px;border-style:solid}
.lockrow{filter:blur(4px);user-select:none}
.compose input:focus{border-color:var(--brand)}
.cprice small{white-space:normal}

/* moderation queue (shared view) */
.phd{padding:12px 15px;background:var(--surface);border-bottom:.5px solid var(--border);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.phd .t{flex:1}
.phd h1{font-size:19px;font-weight:600}
.phd p,.phd .eyebrow{font-size:12px;color:var(--text-muted)}
.sec>header{padding:10px 15px 5px}
.sec h2{font-size:13px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}
.mq{display:flex;flex-direction:column}
.mqi{background:var(--surface);padding:12px 15px;border-bottom:.5px solid var(--border);display:flex;flex-direction:column;gap:6px;font-size:13px}
.mqi .acts{display:flex;gap:6px;flex-wrap:wrap}
.mqi .phead{font-size:11px;color:var(--text-muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.sp{font-size:10px;padding:2px 7px;border-radius:99px;background:#F1EFE8;color:#444441}
.empty .spinner{color:var(--brand)}
.fpost.open .pacts{flex-wrap:wrap;row-gap:8px}
.pacts .pabtn{white-space:nowrap}
.docprev{background:var(--bg);border-radius:var(--r-md);padding:14px;display:flex;flex-direction:column;gap:9px;font-size:13px;color:var(--text-secondary);line-height:1.55;margin-bottom:12px;max-height:50vh;overflow-y:auto}
span.tog{display:inline-block}
