/* V1.6 — quiet feed, clear hierarchy, keyboard-safe mobile navigation. */
body{font-family:'Between Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif}
.feed-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.feed-toolbar .tabs{flex:1;min-width:0;margin:0;border:0}
.feed-publish{min-height:42px;padding:8px 18px;margin-bottom:10px;white-space:nowrap;font-weight:600;background:linear-gradient(120deg,#a32e56,#804067);border-color:#b7597a;box-shadow:inset 0 1px 0 #ffffff17}
.post .person-line{align-items:flex-start}
.post .person-link{flex:1;min-width:0;align-items:center}
.post .person-link>.avatar{width:46px;height:46px;border-radius:50%}
.post .person-link b{font-size:16px;font-weight:650}
.post .person-link small{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:5px}
.post .badge.annual,.post .badge.monthly{padding:1px 5px 1px 3px;line-height:16px;font-size:10px;border-color:#a3895666;border-radius:4px}
.post .badge.monthly{border-color:#747b9066}
.post .badge svg{width:15px;height:15px}
.post .role-chip{padding:0;border:0;background:none;font-size:11px;gap:3px}
.post .role-chip svg{width:13px;height:13px}
.post .post-delete{margin:0;flex:none}
.post .post-delete button{width:44px;height:44px;padding:10px;color:#978795;background:transparent;border:0}
.post .post-menu{margin:0;position:relative}
.post .post-menu>summary{width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;letter-spacing:2px;white-space:nowrap;color:#a49bab;cursor:pointer;list-style:none}
.post .post-menu>summary::-webkit-details-marker{display:none}
.post .post-menu>div{z-index:18}
.post .post-text{font-size:16px;line-height:1.8;margin:16px 0 14px}
.post .post-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:12px;min-height:44px}
.post-meta{margin-right:auto;font-size:12px;color:#9f96a7;display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.5}
.post-actions form{margin:0}
.post .post-actions button{padding:8px 4px;min-width:48px;font-size:14px;gap:7px}
.post .post-actions .icon{width:22px;height:22px}
.post .media-grid{max-width:560px;gap:5px;margin-top:0}
.post .media-grid.count-1{width:72%;max-width:360px}
.post .count-1 .image-thumb{max-height:420px;border-radius:12px;display:block}
.post .count-1 .image-thumb img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.post .media-wrap{border-radius:0}
.post .image-thumb{border-radius:8px}
.post .image-thumb:hover{transform:none}
.post .comments:not([open])>summary{display:none}
.post .comments[open]{margin-top:10px;padding:4px 12px 14px;background:#ffffff04;border:1px solid #ffffff0a;border-radius:12px}
.post .comments>summary{font-size:12px;color:#bba6b5;min-height:36px}
.post .like-people{border:0;margin-top:0}
.post .like-people>summary{min-height:32px;font-size:12px;color:#a89ba9;gap:4px}
.post .like-people>summary:after{content:'⌄';margin-left:2px}
.post .like-people[open]>summary:after{content:'⌃'}
.post .post-feedback{position:absolute;left:20px;right:20px;bottom:5px;min-height:0;margin:0;font-size:11px;pointer-events:none}
.post .post-feedback.is-error{position:static;margin-top:8px;font-size:13px}
.post{position:relative;padding-bottom:28px}
@media(max-width:720px){
  body.keyboard-open .rail,body.keyboard-open .publish-fab{display:none!important}
  /* Keep body padding unchanged during focus, avoiding a second scroll jump. */
  body input:not([type=checkbox]):not([type=radio]),body textarea,body select{font-size:16px}
  input,textarea,[contenteditable=true]{scroll-margin-block:90px}
  .page-feed{--bg:#101017;--surface:#1a1923;--line:#ffffff10}
  .page-feed .mobile-app-header{min-height:62px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));background:#101017fa;border-bottom:0;gap:8px}
  .page-feed .mobile-app-header .compact-brand img{width:30px;height:34px}
  .page-feed .mobile-app-header .compact-brand{font-size:15px}
  .page-feed .mobile-app-header .compact-brand small{font-size:6px}
  .page-feed .mobile-header-actions{gap:5px}
  .page-feed .mobile-header-actions .settings-entry{border:0;background:none;box-shadow:none;padding:8px;color:#b8a9bb}
  .feed-toolbar{margin:0;padding:8px 18px 12px;gap:14px;border:0}
  .feed-toolbar .tabs{gap:24px;align-items:center}
  .feed-toolbar .tabs a{font-size:17px;line-height:1.4;font-weight:600;padding:10px 0;white-space:nowrap;border:0;position:relative}
  .feed-toolbar .tabs a.active{color:#faf5f8}
  .feed-toolbar .tabs a.active:after{content:'';position:absolute;bottom:0;left:calc(50% - 8px);width:16px;height:3px;border-radius:4px;background:#d698b0}
  .feed-publish{margin:0;min-height:40px;font-size:14px;padding:8px 15px;border-radius:12px}
  .feed-publish .icon{display:none}
  .page-feed .banner{min-height:130px;margin:6px 18px 8px;padding:17px 22px;border-radius:14px;border-color:#80506d40}
  .page-feed .banner h2{font-size:22px;line-height:1.45;margin:7px 0}
  .page-feed .banner p{font-size:11px;margin-bottom:0}
  .page-feed .banner .eyebrow{font-size:8px;letter-spacing:1.2px}
  .page-feed .banner-symbol{font-size:130px}
  .feed-only .post{padding:22px 18px 28px;border-bottom:1px solid #ffffff08;background:none}
  .post .person-line{gap:8px}
  .post .person-link{gap:10px}
  .post .person-link>.avatar{width:44px;height:44px;border-radius:50%}
  .post .person-link b{font-size:16px}
  .post .person-link small{font-size:12px;gap:7px}
  .post .post-text{font-size:16px;line-height:1.75;margin-top:16px}
  .post .media-grid.count-1{width:68%;max-width:320px}
  .post .count-1 .image-thumb,.post .count-1 .image-thumb img{max-height:360px}
  .post .post-actions{gap:10px;margin-top:10px}
  .post-meta{font-size:11px;gap:5px;max-width:calc(100% - 128px)}
  .post .post-feedback{left:18px;right:18px}
  .page-feed .publish-fab{display:none}
  .rail{background:#101017fa;border-top:1px solid #ffffff0d}
  .rail nav a{font-size:11px;gap:3px}
  .rail nav a .icon{width:23px;height:23px;z-index:1}
  .rail nav a.active:before{top:5px;left:calc(50% - 27px);width:54px;height:32px;border-radius:18px;background:#a65c7c26}
  .rail nav a.active{color:#e9a6c1}
  .rail nav a .notification-dot{z-index:2;left:calc(50% + 13px);top:9px}
}
@media(max-width:360px){.feed-toolbar .tabs{gap:16px}.feed-toolbar .tabs a{font-size:16px}.feed-toolbar{gap:10px}.post .person-link b{font-size:15px}.post .badge{margin-left:3px}}
