/* My Good Neighbors. White, compact, a touch of nude; Olamma phone-app structure. Icons: Hugeicons free (MIT). No inline styles. */
:root{
  color-scheme:light;
  --bg:#fff;
  --bg-2:#f6f5f3;     
  --bg-3:#eeece8;     
  --nude:#f3e9de;     
  --nude-2:#e7d5c2;   
  --nude-3:#c9ad90;   
  --line:#eceae6;
  --line-2:#dcd8d2;
  --fg:#1b1a18;
  --fg-2:#4f4c47;
  --fg-3:#76716a;
  --heart:#d0453a;--red:#b23b2e;--red-soft:#fbeae6;
  --green:#3f7350;--green-soft:#e6f0e8;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --fs-2xs:10.5px;--fs-xs:11.5px;--fs-sm:12.5px;--fs-base:13.5px;--fs-md:14px;--fs-lg:14.5px;--fs-xl:15.5px;--fs-2xl:17px;--fs-title:22px;--fs-hero:26px;
  --safe-b:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:border-box}
*{scrollbar-width:none}
*::-webkit-scrollbar{display:none}
html{background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--bg);color:var(--fg);font:var(--fs-md)/1.4 var(--font);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,dl,dd,ol,ul,blockquote,figure{margin:0}
ol,ul{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-radius:8px}
img{display:block;max-width:100%;height:auto}
svg{fill:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:8px;top:-60px;z-index:20;padding:10px 16px;border-radius:999px;background:var(--fg);color:var(--bg)}
.skip:focus{top:8px}
.i{width:20px;height:20px;flex:none;display:block}
.i-xs{width:12px;height:12px;flex:none}
.i-s{width:14px;height:14px;flex:none}
.i-m{width:17px;height:17px;flex:none}
.muted{color:var(--fg-3)}
.bar-btn,.btn-sm,.pa{position:relative}
.bar-btn::before,.btn-sm::before,.pa::before{content:"";position:absolute;inset:-6px -2px}
.app{max-width:560px;min-height:100vh;margin:0 auto;display:flex;flex-direction:column;background:var(--bg)}
.main{flex:1;padding-bottom:12px}
.demo{padding:20px 16px 8px;font-size:var(--fs-xs);color:var(--fg-3);text-align:center}
@media (min-width:640px){
  html,body{background:var(--bg-2)}
  .app{box-shadow:0 0 0 1px var(--line),0 10px 40px -20px rgba(27,26,24,.18)}
}
.bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:6px;min-height:56px;padding:6px 10px 6px 16px;background:var(--bg)}
.bar.has-back{gap:10px;padding-left:10px}
.bar-text{flex:1;min-width:0;display:flex;flex-direction:column}
.bar-title{font-size:var(--fs-title);font-weight:650;letter-spacing:-.015em;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.has-back .bar-title{font-size:var(--fs-xl);font-weight:600;letter-spacing:-.01em}
.bar-sub{font-size:var(--fs-xs);color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-btn{display:grid;place-items:center;flex:none;width:34px;height:34px;border:0;border-radius:50%;background:var(--bg-2);color:var(--fg)}
.bar-btn:hover{background:var(--bg-3)}
.bar-btn .i{width:18px;height:18px}
.bar-back .i{width:19px;height:19px;margin-left:-2px}
.tabbar{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 6px calc(8px + var(--safe-b));background:rgba(255,255,255,.97);box-shadow:0 -1px 0 var(--line)}
.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:46px;color:var(--fg-3);font-size:var(--fs-2xs);font-weight:600;letter-spacing:.01em}
.tab-ic{position:relative;display:grid;place-items:center;width:50px;height:28px;border-radius:999px}
.tab-ic .i{width:21px;height:21px}
.tab[aria-current]{color:var(--fg)}
.tab[aria-current] .tab-ic{background:var(--nude)}
.tab-dot{position:absolute;top:2px;right:12px;width:9px;height:9px;border-radius:50%;background:var(--fg);box-shadow:0 0 0 2px var(--bg)}
.tab-new .tab-ic{width:52px;height:34px;border-radius:12px;background:var(--fg);color:var(--bg)}
.tab-new .tab-ic .i{width:20px;height:20px}
.tabbar:hover .tab:hover{color:var(--fg)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.step{display:grid;gap:2px;font-size:var(--fs-xs);line-height:1.3;color:var(--fg-3)}
.step::before{content:"";height:3px;border-radius:2px;background:var(--line-2);margin-bottom:5px}
.step b{font-weight:650;color:var(--fg)}
.step-done::before{background:var(--fg)}
.step-wait::before{background:repeating-linear-gradient(90deg,var(--fg) 0 4px,transparent 4px 7px)}
.feed{display:grid}
.post{display:grid;gap:8px;padding:14px 16px 6px;border-top:1px solid var(--line)}
.post-head{display:flex;align-items:center;gap:10px;min-width:0}
.post-who{flex:1;min-width:0;line-height:1.3}
.name{display:inline-flex;align-items:center;gap:4px;font-size:var(--fs-lg);font-weight:650}
.vf{width:14px;height:14px;flex:none;color:var(--green)}
.post-meta{display:block;font-size:var(--fs-sm);color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-meta a{color:var(--fg-2);font-weight:600}
.post-meta a:hover{text-decoration:underline}
.post-more{align-self:flex-start;margin:-2px -6px 0 0;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--fg-3)}
.post-more:hover{background:var(--bg-2);color:var(--fg)}
.post-title{display:block;font-size:var(--fs-xl);font-weight:650;letter-spacing:-.01em;line-height:1.3}
a.post-title:hover{text-decoration:underline}
.post-text{font-size:var(--fs-lg);line-height:1.45;color:var(--fg)}
.feed .post-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.post-l .post-title{font-size:var(--fs-title);line-height:1.25;letter-spacing:-.015em}
.post-l .post-text{font-size:var(--fs-xl)}
.tag{display:inline-flex;align-items:center;gap:4px;justify-self:start;height:22px;padding:0 9px;border-radius:999px;background:var(--bg-2);color:var(--fg-2);font-size:var(--fs-xs);font-weight:650}
.tag-notice{background:var(--fg);color:var(--bg)}
.tag-ask{background:var(--nude);color:var(--fg)}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.media{position:relative;display:block;border-radius:14px;overflow:hidden;background:var(--bg-2)}
.media img{width:100%}
.media-wide img{aspect-ratio:1200/630;object-fit:cover}
.media-tall img{aspect-ratio:4/5;object-fit:cover}
.media-play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--fg);box-shadow:0 4px 18px rgba(0,0,0,.25)}
.media-play .i{width:22px;height:22px;margin-left:3px}
.media-time{position:absolute;right:10px;bottom:10px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:var(--fs-xs);font-weight:600}
.post-bar{display:flex;align-items:center;gap:4px;margin:0 -8px}
.pa{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:var(--fg-3);font-size:var(--fs-base);font-weight:600}
.pa .i{width:19px;height:19px}
.pa:hover{background:var(--bg-2);color:var(--fg)}
.pa[aria-pressed="true"] svg{fill:currentColor}
.pa[value="metoo"][aria-pressed="true"] svg{color:var(--heart)}
.pa[value="helpful"][aria-pressed="true"] svg{color:var(--fg)}
.pa-end{margin-left:auto}
.post-bar form{display:contents}
.peek{display:flex;gap:8px;align-items:flex-start;padding:2px 0 8px}
.peek-text{min-width:0;padding:7px 12px;border-radius:4px 14px 14px 14px;background:var(--bg-2);font-size:var(--fs-base);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.peek-text b{font-weight:650;margin-right:4px}
.peek-more{display:block;padding:0 0 10px 38px;margin-top:-4px;font-size:var(--fs-sm);font-weight:600;color:var(--fg-3)}
.peek-more:hover{color:var(--fg)}
.av{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--nude-2);color:var(--fg-2);font-size:var(--fs-sm);font-weight:650;letter-spacing:.02em}
.av-s{width:30px;height:30px;font-size:var(--fs-2xs)}
.av-xs{width:28px;height:28px;font-size:10px}
.av-xl{width:76px;height:76px;font-size:24px}
.t1{background:#efe0cf}.t2{background:#e8dccd}.t3{background:#e2d0bc}.t4{background:#f3e7da}.t5{background:#e6d8ca}.t6{background:#dcc7b0}
.av svg{width:56%;height:56%;stroke-width:1.6}
.av-xs svg,.av-s svg{width:60%;height:60%}
.av-ink{background:var(--fg);color:var(--bg)}
.label{padding:16px 16px 6px;font-size:var(--fs-sm);font-weight:650;color:var(--fg-3)}
.rows{display:flex;flex-direction:column;gap:2px;padding:0 8px}
.row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px;border-radius:16px;text-align:left}
a.row:hover{background:var(--bg-2)}
.row-text{flex:1;min-width:0;display:flex;flex-direction:column}
.row-title{display:flex;align-items:center;gap:6px;font-size:var(--fs-lg);font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-sub{font-size:var(--fs-sm);color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-wrap .row-title,.row-wrap .row-sub{white-space:normal}
.row-end{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:var(--fs-xs);color:var(--fg-3)}
.row.is-unread .row-title{font-weight:700}
.row.is-unread .row-sub{color:var(--fg-2)}
.dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--fg)}
.mark{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:var(--nude-2);color:var(--fg);font-size:var(--fs-2xl);font-weight:650}
.mark>svg:not([class]){width:22px;height:22px}
.mark-num{width:30px;height:30px;border-radius:50%;background:var(--bg-2);font-size:var(--fs-base);color:var(--fg-2)}
.mark-soft{background:var(--bg-2);color:var(--fg-2)}
.mark-ok{background:var(--green-soft);color:var(--green)}
.mark-round{border-radius:50%}
.count{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--fg);color:var(--bg);font-size:var(--fs-2xs);font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 18px;border:1px solid var(--fg);border-radius:999px;background:var(--fg);color:var(--bg);font-size:var(--fs-md);font-weight:600;white-space:nowrap}
.btn:hover{background:#000}
.btn-soft{border-color:var(--bg-2);background:var(--bg-2);color:var(--fg)}
.btn-soft:hover{background:var(--bg-3);border-color:var(--bg-3)}
.btn-line{border-color:var(--line-2);background:var(--bg);color:var(--fg)}
.btn-line:hover{background:var(--bg-2)}
.btn-danger{border-color:var(--red);background:var(--red);color:#fff}
.btn-danger:hover{background:#952f24}
.btn-sm{min-height:32px;padding:0 14px;font-size:var(--fs-base)}
.btn-lg{min-height:48px;font-size:var(--fs-xl)}
.btn-block{width:100%}
.btn-row{display:flex;gap:8px}
.btn-row>.btn,.btn-row>form{flex:1}
.btn-row>form>.btn{width:100%}
.search{display:flex;align-items:center;gap:8px;margin:2px 16px 4px;padding:0 14px;border-radius:12px;background:var(--bg-2);color:var(--fg-3)}
.search input{flex:1;min-width:0;height:40px;border:0;background:transparent;color:var(--fg);outline:0}
.search:focus-within{outline:2px solid var(--fg);outline-offset:1px}
.pa,.bar-btn,.btn,.tab-ic,.ftab,.cact,.citem,.pmenu-item{transition:transform .12s ease,background-color .12s ease}
.pa:active,.bar-btn:active,.btn:active,.tab:active .tab-ic,.pmenu-item:active,.citem:active{transform:scale(.95)}
.ftabs{position:sticky;top:56px;z-index:4;display:flex;overflow-x:auto;background:var(--bg);box-shadow:inset 0 -1px 0 var(--line)}
.ftab{position:relative;flex:1 0 auto;display:flex;align-items:center;justify-content:center;height:44px;padding:0 12px;font-size:var(--fs-md);font-weight:600;color:var(--fg-3);white-space:nowrap}
.ftab:hover{color:var(--fg)}
.ftab[aria-current]{color:var(--fg)}
.ftab[aria-current]::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:var(--fg)}
.mark.t1{background:#efe0cf}.mark.t2{background:#e8dccd}.mark.t3{background:#e2d0bc}.mark.t4{background:#f3e7da}.mark.t5{background:#e6d8ca}.mark.t6{background:#dcc7b0}.mark.av-ink{background:var(--fg);color:var(--bg)}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
