/* =====================================================================
   Ducpion premium theme — burgundy, gold and cream.
   Loaded after app.css. Keeps the original Ducpion logo and profile
   pictures; changes colours, cards, reactions, composer and navigation.
   Palette from the approved Ducpion design reference:
   wine #57071E · deep wine #340315 · gold #F0C56C · cream #FFF9F3
   ===================================================================== */
:root{
  --wine:#57071E; --wine-2:#760E2A; --deep:#340315; --gold:#F0C56C; --gold-2:#E2AE45; --cream:#FFF9F3;
  --bg:#FFF9F3; --card:#FFFFFF; --field:#FCF4ED; --line:#F0DFD5; --line-2:#F3E3D6;
  --ink:#340315; --ink-2:#5B3A42; --muted:#74656A;
  --brand:#57071E; --brand-soft:#F8ECEE;
  --shadow:0 6px 18px -8px rgba(87,7,30,.16);
  --night:#2A0211;
  /* the old neon colour names now point at the calm palette */
  --neon-c:var(--wine); --neon-v:var(--wine); --neon-g:var(--wine); --neon-p:var(--wine); --neon-a:var(--gold);
}
html,body{background:var(--bg)}
body{color:var(--ink)}
a{color:var(--wine)}
.btn-primary,.btn.btn-primary{background:var(--wine);border-color:var(--wine);color:#fff;box-shadow:0 6px 14px -6px rgba(87,7,30,.45)}
.btn-primary:hover{background:var(--wine-2)}
.btn-ghost{border-color:var(--line);color:var(--wine)}
.input,textarea.input,select.input{background:var(--field);border-color:var(--line)}
.input:focus,textarea:focus,select:focus{border-color:var(--wine);box-shadow:0 0 0 3px rgba(87,7,30,.12)}
:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.section-title{color:var(--deep)}

/* ---------- header: deep wine, rounded bottom, original logo on a cream badge ---------- */
.topbar{background:linear-gradient(120deg,var(--deep) 0%,var(--wine) 60%,var(--wine-2) 100%);color:#fff;box-shadow:0 8px 20px -10px rgba(52,3,21,.55);
  border-radius:0 0 26px 26px;padding:12px 14px;min-height:70px;gap:10px}
.topbar::after{display:none;animation:none!important}
.topbar .brand{background:var(--cream);border-radius:18px;padding:6px 12px 6px 8px;box-shadow:inset 0 0 0 1px rgba(240,197,108,.55)}
.topbar .brand img.m{width:32px}.topbar .brand img.w{width:92px}
.duckstage{width:38px;height:34px}.duckstage img.m{left:3px;top:2px;width:32px;filter:none;animation:duck-fly 4.5s ease-in-out infinite}
.duckstage .spark,.duckstage .ripple{display:none;animation:none!important}
.hbtn{width:42px;height:42px;border-radius:21px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);color:#fff;flex:none}
.hbtn svg{width:22px;height:22px}
.hbtn:focus-visible,.topbar .icon-btn:focus-visible,.bloodbtn:focus-visible{outline:2px solid var(--gold)}
/* sub-page headers (back arrow + title) */
.topbar .icon-btn{background:rgba(255,255,255,.12);color:#fff}
.topbar .tb-title,.topbar h1,.topbar .tb-title *{color:#fff}
.topbar .tb-sub{color:rgba(255,255,255,.75)}
.topbar .tb-actions .icon-btn,.topbar .tb-actions a,.topbar .tb-actions button{color:#fff}
/* Blood Donor stays in the header: gold pill, red drop */
.bloodbtn{background:var(--gold);color:var(--deep);box-shadow:none;height:40px;padding:0 13px 0 11px}
.bloodbtn svg{color:#B3243D;animation:none}
@media (max-width:380px){.bloodbtn .bl{display:none}.bloodbtn{padding:0 11px}.topbar .brand img.w{width:80px}}

/* ---------- bottom bar: deep wine, rounded top, gold for the open tab ---------- */
.main{padding-bottom:92px}
.bottomnav{left:0;right:0;bottom:0;background:var(--deep);border:0;border-radius:25px 25px 0 0;box-shadow:0 -6px 20px -8px rgba(52,3,21,.45);padding-bottom:env(safe-area-inset-bottom)}
.bottomnav .in{height:70px;padding:0 5px;border-radius:25px 25px 0 0;background:var(--deep);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;grid-template-columns:repeat(5,minmax(0,1fr))}
.bottomnav .in::before{display:none;animation:none!important}
.bottomnav a{--nc:var(--gold);color:#fff;font-size:10px;font-weight:600;gap:5px;text-shadow:none!important;margin:7px 2px;border-radius:14px}
.bottomnav .ni{width:auto;height:28px;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;transform:none}
.bottomnav .ni svg{width:23px;height:23px;filter:none!important}
.bottomnav a.on{color:var(--gold);background:rgba(255,255,255,.05)}
.bottomnav a.on .ni{background:transparent;border:0;box-shadow:none;transform:none;animation:none;color:var(--gold)}
.bottomnav a:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.bottomnav .badge{background:var(--gold);color:var(--deep);border:2px solid var(--deep);box-shadow:none;font-weight:800}

/* ---------- composer: prompt card + full-screen "Create post" sheet ---------- */
.composer.cbox{display:flex;align-items:center;gap:10px;margin:18px 14px 0;padding:14px;border-radius:25px;background:var(--card);border:1px solid #EED8C7;box-shadow:0 8px 20px -12px rgba(87,7,30,.25)}
.composer.cbox .av{width:49px;height:49px;flex:none}
.cprompt{flex:1;min-width:0;text-align:start;background:#FCF4ED;border:0;border-radius:25px;padding:14px 16px;font:inherit;font-size:14.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;min-height:48px}
.cpen{width:44px;height:44px;border-radius:13px;border:0;background:var(--wine);color:var(--gold);display:flex;align-items:center;justify-content:center;flex:none;cursor:pointer}
.cpen svg{width:20px;height:20px}
.createsheet{position:fixed;inset:0;z-index:70;background:var(--cream);display:flex;flex-direction:column;animation:csup .25s ease}
.createsheet.hidden{display:none}
body.noscroll{overflow:hidden}
.composer.c3{display:flex;flex-direction:column;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;max-width:680px;width:100%;margin-inline:auto}
.cshead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(14px + env(safe-area-inset-top)) 16px 14px;border-bottom:1px solid var(--line)}
.cshead h2{margin:0;font-size:18px;font-weight:800;color:var(--deep)}
.cscancel{color:var(--muted)!important;font-size:15px;min-height:44px;padding:0 6px}
.cshead .btn{min-width:84px;height:40px}
.cshead .btn:disabled{opacity:.4;box-shadow:none}
.csbody{flex:1;display:flex;flex-direction:column;gap:12px;padding:18px 20px;overflow:auto}
.csme{display:flex;align-items:center;gap:10px}.csme .av{width:44px;height:44px}.csme b{color:var(--deep);font-size:16px}
.composer.c3 textarea{flex:1;min-height:200px;border:0;background:transparent;font:inherit;font-size:19px;line-height:1.5;color:var(--deep);resize:none;padding:6px 0;box-shadow:none}
.composer.c3 textarea:focus{outline:none;box-shadow:none}
.composer.c3 .bar{display:flex;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);min-height:0;max-height:none;opacity:1;overflow:visible;margin:0}
.composer.c3 .note{color:var(--muted);font-size:13px}
@keyframes csup{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

/* ---------- post cards ---------- */
.stack{gap:22px;padding:22px 14px 0}
.stack>.post,.post{background:var(--card);border-radius:28px;border:1px solid #F1DCCF;box-shadow:0 10px 24px -14px rgba(87,7,30,.28);padding:18px 0 8px}
.post .hd{padding:0 18px;gap:12px}
.post .hd .av{width:49px;height:49px}
.post .who a:first-child{font-size:19px;font-weight:800;color:var(--deep);letter-spacing:-.2px}
.post .who .when{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:5px}
.post .who .aud svg{width:12px;height:12px;vertical-align:-1px}
.post .icon-btn.more{width:42px;height:42px;border-radius:21px;background:var(--cream);color:var(--wine)}
.post .icon-btn.more svg{width:22px;height:22px}
.post .txt{font-size:20px;line-height:1.5;color:var(--deep);padding:0 18px;margin:24px 0 20px}
.post .tr,.post .trbtn,.post .translate{padding-inline:18px}
.post .sum{display:flex;align-items:center;gap:6px;margin:0 18px 16px;padding:0;background:transparent;font-size:13px;font-weight:500;color:var(--muted);border-radius:0}
.sumic{display:inline-flex}.sumic .rx svg{width:18px;height:18px}.sumic .rx+.rx{margin-inline-start:-4px}
/* six reactions in one row: icon on top, label below; the chosen one turns wine */
.stack>.post .reacts,.post .reacts{display:flex;gap:5px;margin:0 14px;padding:0;background:transparent;justify-content:space-between}
.stack>.post .reacts button,.post .reacts button{flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:auto;min-height:58px;padding:9px 2px;
  border-radius:16px;background:#FCF2EA;border:1px solid #F3E3D6;box-shadow:none}
.stack>.post .reacts button svg,.stack>.post .reacts button img,.post .reacts button .rx svg{transform:none;width:22px;height:22px}
.post .reacts button .rl{font-size:10px;font-weight:600;color:var(--deep);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.stack>.post .reacts button.on,.post .reacts button.on,.stack>.post .reacts button.on.love,.stack>.post .reacts button.on.angry{background:var(--wine);border-color:var(--wine);box-shadow:none}
.post .reacts button.on .rl{color:#fff}
.post .reacts button.locked{opacity:.55}
.post .reacts button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.rx.rx-like .lk{fill:#F0C56C}.rx.rx-like .th{fill:#fff;stroke:#57071E;stroke-width:1.4;stroke-linejoin:round}
.stack>.post .pfoot,.post .pfoot{border-top:1px solid var(--line);margin:18px 18px 0;padding-top:6px}
.post .pfoot a{color:var(--wine);font-weight:700;font-size:16px;height:48px;border-radius:14px}
.post .pfoot a svg{color:var(--wine)}
/* post options sheet */
.optsheet h2{font-size:20px;font-weight:800;color:var(--deep);margin:0 0 8px}
.optrow{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;border:0;background:transparent;font:inherit;font-size:16px;color:var(--deep);text-align:start;padding:0 4px;border-radius:12px;cursor:pointer}
.optrow svg{width:20px;height:20px;color:var(--wine)}
.optrow.danger{color:var(--wine);font-weight:600}
.optrow:active{background:var(--field)}

/* ---------- sponsored posts and after-call card ---------- */
.adcard{background:var(--card);border:1px solid var(--line);box-shadow:0 24px 48px -16px rgba(52,3,21,.35)}
.adwho span{color:#8A5A12}.adwho span::before{background:var(--gold-2);box-shadow:none}
.adlogo{background:var(--wine);color:var(--gold)}
.adh-invite{background:var(--wine)}.adh-blood{background:#9E1C33}
.adhouse svg{filter:none}

/* ---------- other bars and boxes: calm borders, no glow ---------- */
.findbar{background:var(--card);border-bottom:1px solid var(--line)}
.findwrap{background:var(--field);border:1px solid var(--line);box-shadow:none}
.findwrap:focus-within{border-color:var(--wine);box-shadow:0 0 0 3px rgba(87,7,30,.12)}
.cbar{background:var(--card);border:1px solid var(--line);box-shadow:0 2px 12px rgba(52,3,21,.08)}
.settile .sti{color:var(--wine)}
.achip.int{background:var(--brand-soft);border-color:#EED3D9}
.achip.tog.on{background:var(--wine);border-color:var(--wine);color:#fff}
.alook{background:var(--field);border:1px solid var(--line)}
.relline{background:#FBEFF1;border:1px solid #F2D4DA}
.aboutcard,.pcard{border:1px solid #F1DCCF;border-radius:24px;box-shadow:var(--shadow)}
.aboutcard{margin:14px 14px 0}
.pcard{overflow:visible}
.prompt .pq{color:var(--wine)}
/* Blood Donor pages keep their red, without glow */
.bhero{background:linear-gradient(120deg,#7A0F25,#9E1C33);box-shadow:none}
.bred{background:#9E1C33!important;box-shadow:none!important}
.bg.on{background:#9E1C33;border-color:#9E1C33;box-shadow:none}
.breq.help{background:var(--card);border:1.5px solid var(--gold-2);box-shadow:none}
.dropb svg{filter:none}
/* call screen: calm solid wine */
.callov{background:var(--night);animation:none}

/* ---------- small and large screens ---------- */
@media (max-width:360px){
  .post .reacts button .rl{font-size:9px}.stack>.post .reacts,.post .reacts{gap:3px;margin:0 10px}
  .post .txt{font-size:18px}.post .who a:first-child{font-size:17px}
  .stack{padding:18px 10px 0}.composer.cbox{margin:14px 10px 0}
}
@media (min-width:641px){.stack{max-width:640px;margin:0 auto}}
@media (prefers-reduced-motion: reduce){.createsheet{animation:none}.duckstage img.m{animation:none}}

/* ---------- layout fixes after Android review ---------- */
.composer.cbox{flex-direction:row;flex-wrap:nowrap;text-align:start}
.post .hd{display:flex;align-items:center}
.post .hd .who{flex:1;min-width:0}
.post .icon-btn.more{margin-inline-start:auto;flex:none}
.stack>.post .pfoot,.post .pfoot{display:flex}
.post .pfoot a{flex:1;justify-content:center}
/* profile photo frames: warm edges instead of the old purple outline */
.cover{outline:1px solid #EED3C4;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 14px 28px -12px rgba(87,7,30,.35)}
.av.lg{outline:1px solid #EED3C4;box-shadow:0 14px 26px -10px rgba(87,7,30,.4),0 3px 8px rgba(87,7,30,.12)}
.pagecorner .pcicon{color:var(--wine)}

/* ---------- steady pages: no zoom, no sideways sliding, no moving profile parts ---------- */
html,body{overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.main{overflow-x:clip}
/* profile: flat (no 3D tilt), page corner no longer grows/shrinks by itself */
.cover,.av.lg,[dir=rtl] .av.lg{transform:none}
.pc-cover,.pagecorner,.pc-av{animation:none;transition:none}
.pagecorner:hover,.pagecorner:focus-visible{width:34px;height:34px}
.pc-av:hover,.pc-av:focus-visible{width:28px;height:28px}
/* photos keep their space while loading, so nothing jumps */
.cover{aspect-ratio:2/1;min-height:0}
.av.lg{flex:none}
/* settings tiles: always fit the screen (the owner's third tile "Ads manager" spans the full width) */
.settiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.settile{min-width:0}
.settile .stt{min-width:0;flex:1}
.settile .stt b{white-space:normal;overflow-wrap:anywhere;line-height:1.25;display:block}
.settile .stt span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
.settiles .settile:nth-child(3):last-child{grid-column:1 / -1}
.pcard,.aboutcard{max-width:100%;box-sizing:border-box}
/* ---------- empty by default: no flag cover, no coloured letter avatar ---------- */
.cover:not(.has-photo){background:linear-gradient(160deg,#F7EEE8,#EFE2D9)}
.cover::after,[dir=rtl] .cover::after,.flipsheet.flag::after{display:none;content:none}
.av.noav{background:#F2E8E1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9B3A8' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4.5 20.5c1.2-3.9 4.1-5.8 7.5-5.8s6.3 1.9 7.5 5.8'/%3E%3C/svg%3E") center 58%/62% no-repeat;color:transparent}
.av.lg.noav{background-size:56%}
/* rounded-square call + chat shapes */
.tb-person .av{flex:none;width:40px;height:40px;min-width:40px;border-radius:13px;aspect-ratio:1/1}
.tb-person .av img{border-radius:inherit;width:100%;height:100%;object-fit:cover}
.topbar .tb-actions .icon-btn{border-radius:13px}
.callov .cav,.callov .av.xl,.callov .pulse{border-radius:34%}
.callov .av.xl img{border-radius:inherit;object-fit:cover}
.callov .cbtn{border-radius:20px}
.callov.isvideo.live .cav,.callov.isvideo.live .av.xl{border-radius:12px}
.callov.isvideo.live .cface{border-radius:16px}
.people .person .av{border-radius:14px}
.person.callrow .icon-btn{border-radius:13px}
/* settings gear beside Blood Donor */
.topbar .setbtn{margin-inline-start:2px}
@media (max-width:360px){.hbtn{width:38px;height:38px}.hbtn svg{width:20px;height:20px}.topbar .brand{padding:5px 9px 5px 6px}.topbar .brand img.m{width:28px}.topbar .brand img.w{width:72px}.bloodbtn{height:38px;padding:0 10px}}
/* "Turn on call alerts" card */
.alertscard{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:10px 0 2px;padding:14px;border-radius:18px;background:#FFF4E2;border:1px solid #F0D9AE;color:var(--deep)}
.alertscard .ai{flex:none;width:42px;height:42px;border-radius:13px;background:var(--wine);color:var(--gold);display:flex;align-items:center;justify-content:center}
.alertscard .ai svg{width:22px;height:22px}
.alertscard .at{flex:1;min-width:170px}
.alertscard .at b{display:block;font-size:15px}
.alertscard .at span{display:block;font-size:13px;opacity:.8;line-height:1.35}
.alertscard .ab{display:flex;align-items:center;gap:14px;margin-inline-start:auto}
/* ---- call screen v2: minimize, tray, floating call card ---- */
.ctop{position:relative;z-index:4;width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}
.ctop .ckey{margin:0 auto;white-space:nowrap;font-size:20px;letter-spacing:3px;padding:6px 12px;border-radius:14px}
.ctop-sp{width:44px;flex:none}
.cmin{flex:none;width:44px;height:44px;border-radius:14px;border:1px solid rgba(240,197,108,.35);background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(8px)}
.cmin svg{width:26px;height:26px}
.cmin:active{transform:scale(.93)}
.callov .ccontrols:not(.incoming){display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;max-width:380px;padding:18px 14px 16px;border-radius:28px;background:rgba(20,0,8,.42);border:1px solid rgba(240,197,108,.22);backdrop-filter:blur(14px)}
.callov .ccontrols.hidden{display:none}
.callov .crow{display:flex;justify-content:space-around;gap:6px;width:100%}
.callov .cend .cbtn{width:68px;height:68px}
.callov .cb span{font-size:12.5px}
.callov .cbtn.on{background:var(--gold);color:var(--deep)}
.callaudio{display:none}
body.callmini .main{padding-bottom:84px}
.callpill{position:fixed;z-index:60;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:8px 8px 8px 8px;border-radius:20px;color:#fff;cursor:pointer;
  background:linear-gradient(120deg,var(--deep),var(--wine) 70%,var(--wine-2));border:1px solid rgba(240,197,108,.55);box-shadow:0 14px 30px -12px rgba(52,3,21,.7);animation:pillin .25s ease-out}
/* pages without the bottom menu (a chat): the card sits under the header so it never covers the message box */
body:not(:has(.bottomnav)) .callpill{bottom:auto;top:calc(66px + env(safe-area-inset-top))}
body.callmini:not(:has(.bottomnav)) .main{padding-top:70px;padding-bottom:0}
@keyframes pillin{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
.callpill .pav{position:relative;flex:none;width:44px;height:44px}
.callpill .pav .av,.callpill .pthumb{width:44px;height:44px;min-width:44px;border-radius:13px;object-fit:cover;display:flex;font-size:16px;border:0}
.callpill .pthumb{background:#000}
.callpill .pav .av img{border-radius:inherit;width:100%;height:100%;object-fit:cover}
.callpill .pwave{position:absolute;inset:-3px;border-radius:16px;border:2px solid var(--gold);opacity:.0}
.callpill.live .pwave{animation:pwave 1.6s ease-out infinite}
@keyframes pwave{0%{opacity:.9;transform:scale(.92)}100%{opacity:0;transform:scale(1.18)}}
.callpill .ptext{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.callpill .ptext b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.callpill .phint{font-size:12.5px;color:var(--gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.callpill .phint i{font-style:normal;color:rgba(255,255,255,.75)}
.callpill .pbtn{flex:none;width:42px;height:42px;border-radius:13px;border:0;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.callpill .pbtn svg{width:22px;height:22px}
.callpill .pbtn.off{background:#fff;color:var(--wine)}
.callpill .pbtn.red{background:#E5484D}
@media (prefers-reduced-motion: reduce){.callpill,.callpill .pwave{animation:none!important}}

/* ---------- safety: report, block, owner reports ---------- */
.reportsheet{max-height:88vh;overflow-y:auto}
.reportsheet .reasons{display:grid;gap:2px;margin:8px 0 6px}
.reportsheet .permrow.reason{min-height:44px;padding:6px 4px;border-radius:12px}
.reportsheet .permrow.reason:has(input:checked){background:#FCF0E4;color:var(--wine);font-weight:700}
.reportsheet input[type=radio]{accent-color:var(--wine);width:20px;height:20px;flex:none}
.optrow span[aria-hidden],.optrow svg{flex:none}
.cmeta .rpt{color:var(--muted)}
.mb p.tapr{cursor:pointer}
.pmore{width:44px;padding:0!important;justify-content:center}
.pmore svg{width:20px;height:20px}
.pcard.blockedcard{text-align:center;padding-top:24px;margin:18px 14px 0;align-items:center}
.pcard.blockedcard .avrow{justify-content:center;margin-top:0;padding:0}
.pcard.blockedcard .name{margin-top:0;padding:0;align-items:center}
.pcard.blockedcard .btn{white-space:nowrap}
.blockedcard .acts{justify-content:center}
.badge.inl{position:static;display:inline-flex;vertical-align:middle;border-color:var(--card);margin-inline-start:4px}
.badge.inl.hidden{display:none}
.tabs2 .reptab{height:48px;background:none;border:0;border-bottom:3px solid transparent;font:inherit;font-weight:700;color:var(--muted);cursor:pointer}
.tabs2 .reptab.on{color:var(--wine);border-bottom-color:var(--wine)}
.replist{display:grid;gap:12px;padding:14px}
.repcard{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:0 8px 20px -14px rgba(87,7,30,.3);min-width:0}
.repcard.done{opacity:.78}
.rephead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rephead .sp{flex:1}
.repkind{background:var(--wine);color:var(--gold);font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:99px}
.repreason{color:var(--ink)}
.rephead .when{color:var(--muted);font-size:12.5px}
.repwho{margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.repwho a{color:var(--wine);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.repban{background:#FDE7E7;color:#B42318;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:99px}
.repx{margin:10px 0 0;padding:10px 12px;background:var(--field);border-inline-start:3px solid var(--gold-2);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.repnote{margin:8px 0 0;color:var(--ink-2);font-size:13.5px;overflow-wrap:anywhere}
.repby{margin-top:8px;color:var(--muted);font-size:12.5px}
.repacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}

/* ---------- automatic safety: under review, report counts, suspension end ---------- */
.revnote { display: flex; align-items: center; gap: 8px; margin: 8px 14px 0; padding: 8px 10px; border-radius: 10px; background: #FFF4E5; color: #8A4B00; font-size: 13px; line-height: 1.35; }
.revnote span { display: inline-flex; flex: none; }
.revnote span svg { width: 16px; height: 16px; }
.revnote.sm { margin: 4px 0 0; padding: 5px 8px; font-size: 12px; }
.repflag { margin-top: 6px; font-size: 13px; color: #6B7280; }
.repflag.on { color: #B45309; font-weight: 600; }
.replow { margin-top: 4px; font-size: 12px; color: #9CA3AF; font-style: italic; }
.susp-until { text-align: center; font-weight: 600; margin: 0 0 12px; }
@media (prefers-color-scheme: dark) {
  .revnote { background: #3A2A12; color: #FBD38D; }
  .repflag.on { color: #FBBF24; }
}
/* ---------- Ads center (Promote) ---------- */
.prsec { font-size: 15px; font-weight: 700; margin: 16px 16px 8px; color: var(--ink); }
.prform { display: flex; flex-direction: column; gap: 12px; }
.prpanel { display: flex; flex-direction: column; gap: 10px; }
.prh { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0; color: var(--ink); }
.prn { width: 26px; height: 26px; border-radius: 50%; background: var(--wine); color: var(--gold); display: inline-grid; place-items: center; font-size: 13px; flex: none; }
.goals { display: grid; gap: 8px; }
.goals.two { grid-template-columns: 1fr 1fr; }
.goal { text-align: start; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(87,7,30,.15); background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.goal b { font-size: 15px; }
.goal span { font-size: 13px; color: #6B5A5F; }
.goal.on { border-color: var(--wine); background: #FBEFE6; box-shadow: inset 0 0 0 1px var(--wine); }
.goals.two .goal { align-items: center; }
.prchips { margin-top: -2px; }
.prchip { padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(87,7,30,.18); background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.prchip.on { background: var(--wine); border-color: var(--wine); color: #fff; }
.prchip:disabled { opacity: .45; cursor: default; }
.prtotal { margin: 0; font-weight: 700; font-size: 16px; color: var(--wine); }
.prtotal.bad { color: #B42318; font-weight: 600; font-size: 14px; }
.prpay { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FBEFE6; color: var(--ink); font-size: 14px; line-height: 1.5; }
.prpay:empty { display: none; }
.prlabel { font-size: 13px; color: #6B5A5F; font-weight: 600; }
.prbox .adprev { margin: 0; border: 1px solid rgba(87,7,30,.1); }
.adbadge { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EEE; color: #555; }
.adbadge.wait { background: #FEF3C7; color: #92400E; }
.adbadge.on { background: #DCFCE7; color: #166534; }
.adbadge.no { background: #FEE4E2; color: #B42318; }
.reqcard { margin: 0 10px 12px; padding: 10px; border-radius: 16px; background: var(--card, #fff); border: 1px solid rgba(87,7,30,.12); display: flex; flex-direction: column; gap: 8px; }
.reqcard .adprev { margin: 0; }
.reqinfo { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.reqpay { font-weight: 700; color: var(--wine); }
.reqacts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) {
  .goal, .prchip { background: #2A0B14; color: #F5E9E2; border-color: rgba(240,197,108,.25); }
  .goal span, .prlabel { color: #C9B5B9; }
  .goal.on { background: #3B0F1C; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
  .prchip.on { background: var(--gold); color: #2A0211; border-color: var(--gold); }
  .prpay { background: #3B0F1C; color: #F5E9E2; }
  .prtotal, .reqpay, .prh, .prsec { color: var(--gold); }
  .adbadge.wait { background: #3A2A12; color: #FBD38D; }
  .adbadge.on { background: #12321F; color: #86EFAC; }
  .adbadge.no { background: #3A1414; color: #FCA5A5; }
}
/* district picker + "Use my location" */
.locrow { display: flex; margin-top: -4px; }
.locbtn { width: auto; }
.locmsg { margin: 2px 0 8px; }
/* ---------- post options: privacy, edit, history, share; comment options ---------- */
.pfoot { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.pfoot .sharebtn { height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--ink-2, #6B5A5F); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.pfoot .sharebtn svg { width: 18px; height: 18px; }
.pfoot .sharebtn:hover { color: var(--brand); }
.post .whenrow { display: inline-flex; align-items: center; gap: 6px; }
.editedbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: var(--muted, #8a7a7f); cursor: pointer; text-decoration: underline dotted; }
.post .aud svg { width: 13px; height: 13px; }
.post .shared { font-weight: 400; color: var(--muted, #8a7a7f); }
.sharedbox { display: block; margin: 4px 16px 10px; padding: 10px 12px; border: 1px solid rgba(87,7,30,.14); border-radius: 14px; color: inherit; text-decoration: none; }
.sharedbox .hd { display: flex; gap: 8px; align-items: center; padding: 0; }
.sharedbox .who { display: flex; flex-direction: column; font-size: 14px; }
.sharedbox .who .when { font-size: 12px; color: var(--muted, #8a7a7f); }
.sharedbox .txt { margin: 8px 0 0; white-space: pre-wrap; }
.sharedgone { color: var(--muted, #8a7a7f); font-style: italic; font-size: 14px; }
.pvrow .pvtxt { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.pvrow small { font-size: 13px; color: var(--muted, #8a7a7f); font-weight: 400; }
.pvrow.on { background: #FBEFE6; border-radius: 12px; }
.pvcheck svg { color: var(--wine); }
.audbtn { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(87,7,30,.2); background: #FBEFE6; color: var(--wine); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.audbtn svg { width: 13px; height: 13px; }
.audbtn .chev svg { width: 12px; height: 12px; }
.editsheet { display: flex; flex-direction: column; gap: 10px; }
.editsheet .csme { display: flex; gap: 10px; align-items: center; }
.editsheet .sharedbox { margin: 0; }
.histsheet { max-height: 80vh; display: flex; flex-direction: column; gap: 10px; }
.histlist { overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.histrow { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(87,7,30,.12); }
.histrow.cur { border-color: var(--wine); background: #FBEFE6; }
.histhd { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.histhd span { color: var(--muted, #8a7a7f); }
.histrow p { margin: 6px 0 0; white-space: pre-wrap; }
.cmt .cmore { width: 28px; height: 28px; margin-inline-start: auto; }
.cmt .cmore svg { width: 16px; height: 16px; }
.pinmark { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--wine); margin: 0 0 3px 6px; }
.pinmark svg { width: 13px; height: 13px; }
.cmt.pinned .bubble { box-shadow: inset 0 0 0 1.5px rgba(87,7,30,.25); }
.cmt.hid .bubble { opacity: .6; }
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }
@media (prefers-color-scheme: dark) {
  .pvrow.on, .audbtn, .histrow.cur { background: #3B0F1C; }
  .audbtn, .pinmark { color: var(--gold); border-color: rgba(240,197,108,.3); }
  .sharedbox, .histrow { border-color: rgba(240,197,108,.2); }
}
