/* F.w 研究所 Windows 客户端专用版式 v1.0.5 */
html.fw-desktop-app{
  --fw-desktop-rail:92px;
  --fw-desktop-top:0px;
  --fw-desktop-bg:#eee9df;
  --fw-desktop-paper:#fffdf7;
  --fw-desktop-ink:#1b1b18;
  --fw-desktop-muted:#756f64;
  --fw-desktop-accent:#d97979;
  --fw-desktop-accent-hover:#e48686;
  --fw-desktop-line:rgba(27,27,24,.13);
  --fw-desktop-shadow:0 14px 40px rgba(30,28,22,.08);
  background:var(--fw-desktop-bg);
}

html.fw-desktop-app,
html.fw-desktop-app body{
  min-width:0!important;
  min-height:100%;
  overflow-x:hidden;
  background:var(--fw-desktop-bg)!important;
}

/*
  Windows WebView 会先绘制网页原始版式，再由桌面壳接管。
  在壳层准备期间直接隐藏原始页面，避免切页时闪回上一页或露出网页导航。
  该类只会由带 FwYanjiusuoDesktop User-Agent 的页面在 head 中添加。
*/
html.fw-desktop-preparing{
  background:#eee9df!important;
}
html.fw-desktop-preparing body{
  visibility:hidden!important;
}

html.fw-desktop-app body > .page{
  width:auto!important;
  min-height:100vh!important;
  margin:0 0 0 var(--fw-desktop-rail)!important;
  padding-top:0!important;
  background:var(--fw-desktop-bg)!important;
}

.fw-desktop-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  z-index:11000;
  width:var(--fw-desktop-rail);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:16px 10px 12px;
  color:#f9f5ec;
  background:#181916;
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:10px 0 32px rgba(25,23,18,.08);
}

.fw-desktop-brand{
  display:flex;
  min-height:54px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff!important;
  text-decoration:none!important;
  line-height:1;
}
.fw-desktop-brand span{font-size:22px;font-weight:1000;letter-spacing:-.08em;}
.fw-desktop-brand small{margin-top:5px;color:#d9d2c5;font-size:10px;font-weight:900;letter-spacing:.15em;}

.fw-desktop-compose{
  min-height:58px;
  margin:4px 0 8px;
  padding:7px 4px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:16px!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  background:var(--fw-desktop-accent)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:1000!important;
  cursor:pointer;
  box-shadow:0 9px 20px rgba(217,121,121,.2);
}
.fw-desktop-compose:hover{background:#e18686!important;transform:translateY(-1px);}
.fw-desktop-compose.active{box-shadow:0 0 0 3px rgba(255,255,255,.2),0 9px 20px rgba(217,121,121,.24);}
.fw-desktop-compose svg{width:21px;height:21px;}

.fw-desktop-nav{
  min-height:0;
  display:flex;
  flex:1;
  flex-direction:column;
  gap:5px;
}

.fw-desktop-nav-item{
  position:relative;
  min-height:54px;
  padding:7px 3px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#bdb9af!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
  line-height:1;
}
.fw-desktop-nav-item svg{width:22px;height:22px;}
.fw-desktop-nav-item:hover{background:rgba(255,255,255,.07);color:#fff!important;}
.fw-desktop-nav-item.active{background:#f6f1e7;color:#1b1b18!important;box-shadow:0 9px 22px rgba(0,0,0,.18);}
.fw-desktop-nav-item b{
  position:absolute;
  top:4px;
  right:8px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:none;
  place-items:center;
  box-sizing:border-box;
  background:#e26f6f;
  color:#fff;
  border:2px solid #181916;
  font-size:9px;
  line-height:14px;
}
.fw-desktop-nav-item b.show{display:grid;}
.fw-desktop-nav-item.active b{border-color:#f6f1e7;}
.fw-desktop-more{margin-top:auto;}
.fw-desktop-more-wrap{
  position:relative;
  margin-top:auto;
}
.fw-desktop-more-wrap .fw-desktop-more{width:100%;margin-top:0;border:0;background:transparent;cursor:pointer;}
.fw-desktop-more[aria-expanded="true"]{background:rgba(255,255,255,.09);color:#fff!important;}
.fw-desktop-more-menu{
  position:absolute;
  z-index:30;
  left:calc(100% + 12px);
  bottom:0;
  width:238px;
  padding:10px;
  box-sizing:border-box;
  border:1px solid rgba(27,27,24,.14);
  border-radius:18px;
  background:#fffdf7;
  color:var(--fw-desktop-ink);
  box-shadow:0 22px 58px rgba(18,18,15,.24);
}
.fw-desktop-more-menu[hidden]{display:none!important;}
.fw-desktop-more-menu small{
  display:block;
  padding:6px 10px 9px;
  color:var(--fw-desktop-muted);
  font-size:11px;
  font-weight:1000;
  letter-spacing:.12em;
}
.fw-desktop-more-menu a{
  display:block;
  padding:11px 12px;
  border-radius:12px;
  color:var(--fw-desktop-ink)!important;
  text-decoration:none!important;
}
.fw-desktop-more-menu a:hover,
.fw-desktop-more-menu a:focus,
.fw-desktop-more-menu a.active{background:#f3eee5;outline:0;}
.fw-desktop-more-menu a.active{box-shadow:inset 3px 0 0 var(--fw-desktop-accent);}
.fw-desktop-more-menu b,
.fw-desktop-more-menu span{display:block;}
.fw-desktop-more-menu b{font-size:13px;font-weight:1000;}
.fw-desktop-more-menu span{margin-top:4px;color:var(--fw-desktop-muted);font-size:11px;font-weight:800;}
.fw-desktop-account{
  width:100%;
  margin:0;
  border:0;
  background:transparent;
  cursor:pointer;
}

.fw-desktop-connection{
  position:fixed;
  z-index:12000;
  top:12px;
  left:calc(var(--fw-desktop-rail) + 50%);
  display:none;
  align-items:center;
  gap:12px;
  max-width:calc(100vw - var(--fw-desktop-rail) - 40px);
  padding:10px 14px;
  border:1px solid rgba(164,75,75,.35);
  border-radius:999px;
  background:#fff4ec;
  color:#8f3f3f;
  box-shadow:0 10px 26px rgba(51,30,20,.14);
  font-size:12px;
  font-weight:900;
  transform:translateX(-50%);
}
.fw-desktop-connection.show{display:flex;}
.fw-desktop-connection button{border:0;border-radius:999px;padding:6px 10px;background:#8f3f3f;color:#fff;font-weight:900;cursor:pointer;}

html.fw-desktop-app body.fw-desktop-navigating:after{
  content:"";
  position:fixed;
  z-index:13000;
  top:0;
  left:var(--fw-desktop-rail);
  width:32%;
  height:3px;
  background:var(--fw-desktop-accent);
  box-shadow:0 0 14px rgba(217,121,121,.55);
  animation:fwDesktopLoading .55s ease-out both;
}
@keyframes fwDesktopLoading{from{width:4%;opacity:.55}to{width:72%;opacity:1}}

html.fw-desktop-app body.fw-desktop-navigating:before{
  content:"";
  position:fixed;
  z-index:12500;
  inset:0 0 0 var(--fw-desktop-rail);
  background:var(--fw-desktop-bg);
  pointer-events:auto;
}

html.fw-desktop-app .header{
  display:none!important;
}

html.fw-desktop-app .header > .logo,
html.fw-desktop-app .header > .nav,
html.fw-desktop-app .header > .menu-btn,
html.fw-desktop-app .header > .fw-social-actions,
html.fw-desktop-app .mobile-nav{
  display:none!important;
}

html.fw-desktop-app .header .fw-userbar{
  position:relative!important;
  z-index:3;
  margin-left:auto!important;
}

html.fw-desktop-app .footer{display:none!important;}

/* 全局交互语言：粉色只承担核心操作，黑色与描边用于普通或次要操作。 */
html.fw-desktop-app .btn.primary,
html.fw-desktop-app.fw-route-compose .compose-page-form button[type="submit"],
html.fw-desktop-app .fw-auth-panel .btn.dark[type="submit"],
html.fw-desktop-app.fw-route-rooms .poll-submit,
html.fw-desktop-app.fw-route-bird .bird-compose button[type="submit"],
html.fw-desktop-app.fw-route-buddy .fw-wx-compose button[type="submit"]{
  border-color:var(--fw-desktop-accent)!important;
  background:var(--fw-desktop-accent)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(217,121,121,.18)!important;
}
html.fw-desktop-app .btn.primary:hover,
html.fw-desktop-app.fw-route-compose .compose-page-form button[type="submit"]:hover,
html.fw-desktop-app .fw-auth-panel .btn.dark[type="submit"]:hover,
html.fw-desktop-app.fw-route-rooms .poll-submit:hover,
html.fw-desktop-app.fw-route-bird .bird-compose button[type="submit"]:hover,
html.fw-desktop-app.fw-route-buddy .fw-wx-compose button[type="submit"]:hover{
  background:var(--fw-desktop-accent-hover)!important;
}
html.fw-desktop-app button:focus-visible,
html.fw-desktop-app a:focus-visible,
html.fw-desktop-app input:focus-visible,
html.fw-desktop-app textarea:focus-visible{
  outline:3px solid rgba(217,121,121,.3)!important;
  outline-offset:2px!important;
}

/* 首页沿用网页版主体，Windows 软件内仅隐藏“刚刚有人说”实时牢骚区。 */
html.fw-desktop-app.fw-route-home #live{
  display:none!important;
}
html.fw-desktop-app.fw-route-home .home-hero{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
html.fw-desktop-app.fw-route-home .home-hero-clean{
  width:min(980px,calc(100% - 80px))!important;
  min-height:100vh!important;
  margin:0 auto!important;
  padding:48px 0!important;
  box-sizing:border-box!important;
  grid-template-columns:1fr!important;
  align-items:center!important;
}
html.fw-desktop-app.fw-route-home .home-hero .hero-title{font-size:clamp(58px,8vw,96px)!important;}
html.fw-desktop-app.fw-route-home .home-hero .hero-copy{max-width:720px!important;font-size:20px!important;line-height:1.65!important;}
html.fw-desktop-app.fw-route-home .hero-actions a[href="rooms.html"],
html.fw-desktop-app.fw-route-home .hero-actions a[href="bird.html"]{display:none!important;}

/* 精神广场：只保留浏览与互动，不再混入发布表单。 */
html.fw-desktop-app.fw-route-square .square-hero{
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
  color:var(--fw-desktop-ink)!important;
}
html.fw-desktop-app.fw-route-square .square-hero-inner{
  width:min(900px,calc(100% - 48px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:18px 0 12px!important;
  display:block!important;
}
html.fw-desktop-app.fw-route-square .square-hero-copy{
  margin:0 0 8px!important;
  display:flex!important;
  align-items:baseline;
  gap:16px;
}
html.fw-desktop-app.fw-route-square .square-hero-copy .hero-title{
  margin:0!important;
  color:var(--fw-desktop-ink)!important;
  font-size:24px!important;
  line-height:1.1!important;
  white-space:nowrap;
}
html.fw-desktop-app.fw-route-square .square-hero-copy .hero-copy{
  margin:0!important;
  color:var(--fw-desktop-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
html.fw-desktop-app.fw-route-square .square-layout{
  width:min(900px,calc(100% - 48px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:4px 0 36px!important;
  gap:18px!important;
  grid-template-columns:minmax(0,1fr)!important;
}
html.fw-desktop-app.fw-route-square .square-main,
html.fw-desktop-app.fw-route-square .feed-list{min-width:0!important;}
html.fw-desktop-app.fw-route-square .square-side{display:none!important;}
html.fw-desktop-app.fw-route-square .side-card{border-radius:16px!important;box-shadow:none!important;}
html.fw-desktop-app.fw-route-square .post-card{
  border:1px solid var(--fw-desktop-line)!important;
  border-radius:18px!important;
  background:var(--fw-desktop-paper)!important;
  box-shadow:0 7px 24px rgba(30,28,22,.045)!important;
}
html.fw-desktop-app.fw-route-square .interactions{gap:7px!important;}
html.fw-desktop-app.fw-route-square .interactions button{
  border-color:rgba(27,27,24,.13)!important;
  background:transparent!important;
  color:#5f5a52!important;
}
html.fw-desktop-app.fw-route-square .interactions button:hover{
  border-color:rgba(217,121,121,.42)!important;
  background:#fff3ef!important;
  color:#9d4a4a!important;
}
html.fw-desktop-app.fw-route-square .interactions button.active,
html.fw-desktop-app.fw-route-square .interactions button.done{
  border-color:rgba(217,121,121,.42)!important;
  background:rgba(217,121,121,.13)!important;
  color:#9d4a4a!important;
  box-shadow:inset 0 0 0 1px rgba(217,121,121,.1)!important;
}
html.fw-desktop-app.fw-route-square .interactions .fw-report-mini,
html.fw-desktop-app.fw-route-square .interactions .fw-square-post-delete{
  margin-left:auto!important;
  border-color:transparent!important;
  background:transparent!important;
  color:#9b6a6a!important;
  box-shadow:none!important;
}

/* 发牢骚：独立发布页。 */
html.fw-desktop-app.fw-route-compose .compose-hero{
  min-height:100vh!important;
  padding:0!important;
  background:transparent!important;
  color:var(--fw-desktop-ink)!important;
}
html.fw-desktop-app.fw-route-compose .compose-hero-inner{
  width:min(1040px,calc(100% - 64px))!important;
  max-width:none!important;
  min-height:calc(100vh - 80px)!important;
  margin:0 auto!important;
  padding:40px 0!important;
  display:grid!important;
  grid-template-columns:minmax(210px,270px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:42px!important;
}
html.fw-desktop-app.fw-route-compose .compose-page-copy .kicker{color:var(--fw-desktop-accent)!important;}
html.fw-desktop-app.fw-route-compose .compose-page-copy .hero-title{
  margin:8px 0 14px!important;
  color:var(--fw-desktop-ink)!important;
  font-size:clamp(42px,5vw,62px)!important;
  line-height:.96!important;
}
html.fw-desktop-app.fw-route-compose .compose-page-copy .hero-copy{
  margin:0!important;
  color:var(--fw-desktop-muted)!important;
  font-size:16px!important;
  line-height:1.8!important;
}
html.fw-desktop-app.fw-route-compose .compose-back{
  display:inline-flex!important;
  margin-top:22px!important;
  color:var(--fw-desktop-ink)!important;
  font-size:13px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
html.fw-desktop-app.fw-route-compose .compose-page-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:28px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(28,28,24,.14)!important;
  border-radius:22px!important;
  background:var(--fw-desktop-paper)!important;
  box-shadow:var(--fw-desktop-shadow)!important;
}
html.fw-desktop-app.fw-route-compose .compose-page-form textarea{min-height:190px!important;}
html.fw-desktop-app.fw-route-compose .compose-page-form.fw-desktop-login-required{
  border-color:rgba(217,121,121,.38)!important;
}
html.fw-desktop-app.fw-route-compose .compose-page-form.fw-desktop-login-required [data-notice]{
  color:#9d4a4a!important;
  font-weight:900!important;
}

/* 回声：固定为软件内整页，不再作为可拖动浮窗 */
html.fw-desktop-app.fw-route-echo .hero.bg-night,
html.fw-desktop-app.fw-route-buddy .hero.bg-night{
  min-height:calc(100vh - var(--fw-desktop-top))!important;
  background:var(--fw-desktop-bg)!important;
}
html.fw-desktop-app.fw-route-echo .fw-mobile-social-placeholder,
html.fw-desktop-app.fw-route-buddy .fw-mobile-social-placeholder{display:none!important;}

html.fw-desktop-app.fw-route-echo .fw-stable-echo-modal{
  position:fixed!important;
  z-index:10020!important;
  inset:var(--fw-desktop-top) 0 0 var(--fw-desktop-rail)!important;
  box-sizing:border-box!important;
  padding:18px 24px!important;
  background:var(--fw-desktop-bg)!important;
  pointer-events:auto!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-modal.show{display:block!important;}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-panel{
  position:relative!important;
  inset:auto!important;
  width:min(960px,100%)!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0 auto!important;
  resize:none!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(31,28,22,.08)!important;
}
html.fw-desktop-app.fw-route-echo [data-fw-stable-echo-close]{display:none!important;}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-head{
  min-height:72px!important;
  box-sizing:border-box!important;
  padding:16px 22px!important;
  align-items:center!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-head small{margin-bottom:5px!important;}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-head h2{font-size:28px!important;}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-toolbar{
  border:0!important;
  border-bottom:1px solid var(--fw-desktop-line)!important;
  background:transparent!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-item{
  border-radius:14px!important;
  transition:border-color .16s ease,background .16s ease!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-item.unread{
  border-color:rgba(217,121,121,.55)!important;
  box-shadow:inset 3px 0 0 var(--fw-desktop-accent)!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-actions button{
  border-color:var(--fw-desktop-line)!important;
  background:transparent!important;
  color:var(--fw-desktop-ink)!important;
}
html.fw-desktop-app.fw-route-echo .fw-stable-echo-empty{
  min-height:150px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  border-radius:14px!important;
}

/* 搭子：固定左侧列表 + 右侧私聊 */
html.fw-desktop-app.fw-route-buddy .fw-wx-modal{
  position:fixed!important;
  z-index:10020!important;
  inset:var(--fw-desktop-top) 0 0 var(--fw-desktop-rail)!important;
  box-sizing:border-box!important;
  padding:18px 24px!important;
  background:var(--fw-desktop-bg)!important;
  pointer-events:auto!important;
}
html.fw-desktop-app.fw-route-buddy .fw-wx-modal.show{display:block!important;}
html.fw-desktop-app.fw-route-buddy .fw-wx-panel{
  position:relative!important;
  inset:auto!important;
  width:min(1160px,100%)!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0 auto!important;
  resize:none!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(31,28,22,.08)!important;
}
html.fw-desktop-app.fw-route-buddy .fw-wx-head{height:72px!important;padding:14px 22px!important;cursor:default!important;}
html.fw-desktop-app.fw-route-buddy .fw-wx-title h2{font-size:28px!important;}
html.fw-desktop-app.fw-route-buddy [data-fw-wx-reset],
html.fw-desktop-app.fw-route-buddy [data-fw-wx-close]{display:none!important;}
html.fw-desktop-app.fw-route-buddy .fw-wx-shell{grid-template-columns:330px minmax(0,1fr)!important;}
html.fw-desktop-app.fw-route-buddy .fw-wx-tabs{padding:12px 14px!important;}
html.fw-desktop-app.fw-route-buddy .fw-wx-tab.active{
  border-color:rgba(217,121,121,.48)!important;
  background:rgba(217,121,121,.14)!important;
  color:#9d4a4a!important;
}
html.fw-desktop-app.fw-route-buddy .fw-wx-empty{
  min-height:120px!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:10px!important;
  border-radius:14px!important;
  text-align:center!important;
}
html.fw-desktop-app.fw-route-buddy .fw-wx-compose.fw-desktop-compose-disabled{
  background:#f4f0e8!important;
}
html.fw-desktop-app.fw-route-buddy .fw-wx-compose.fw-desktop-compose-disabled input,
html.fw-desktop-app.fw-route-buddy .fw-wx-compose.fw-desktop-compose-disabled button{
  opacity:.56!important;
  cursor:not-allowed!important;
}

/* 学术研讨与观鸟台：桌面软件只保留紧凑栏目说明，第一屏直接进入内容。 */
html.fw-desktop-app.fw-route-rooms .polls-hero,
html.fw-desktop-app.fw-route-bird .bird-hero{
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
  color:var(--fw-desktop-ink)!important;
}
html.fw-desktop-app.fw-route-rooms .polls-hero-inner,
html.fw-desktop-app.fw-route-bird .bird-hero .hero-inner{
  width:min(1000px,calc(100% - 48px))!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:20px 0 12px!important;
  display:block!important;
}
html.fw-desktop-app.fw-route-rooms .polls-hero .hero-title,
html.fw-desktop-app.fw-route-bird .bird-hero .hero-title{
  margin:0!important;
  color:var(--fw-desktop-ink)!important;
  font-size:30px!important;
  line-height:1.1!important;
}
html.fw-desktop-app.fw-route-rooms .polls-hero .kicker,
html.fw-desktop-app.fw-route-bird .bird-motto{display:none!important;}
html.fw-desktop-app.fw-route-rooms .polls-hero .hero-copy,
html.fw-desktop-app.fw-route-bird .bird-hero .hero-copy{
  max-width:760px!important;
  margin:8px 0 0!important;
  color:var(--fw-desktop-muted)!important;
  font-size:13px!important;
  line-height:1.5!important;
}
html.fw-desktop-app.fw-route-rooms .polls-hero-panel,
html.fw-desktop-app.fw-route-bird .bird-rule-card{display:none!important;}
html.fw-desktop-app.fw-route-rooms .polls-hero .hero-actions,
html.fw-desktop-app.fw-route-bird .bird-hero .hero-actions{margin-top:12px!important;}
html.fw-desktop-app.fw-route-rooms .polls-layout,
html.fw-desktop-app.fw-route-bird .bird-layout{
  width:min(1000px,calc(100% - 48px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:8px 0 36px!important;
}

/* 废话档案：保留榜单特色，但收回网页式超大标题和过量留白。 */
html.fw-desktop-app.fw-route-archive body.archive-body{background:var(--fw-desktop-bg)!important;}
html.fw-desktop-app.fw-route-archive .archive-page{
  width:auto!important;
  max-width:1100px!important;
  min-height:100vh!important;
  margin-left:var(--fw-desktop-rail)!important;
  padding:24px 0 48px!important;
  box-sizing:border-box!important;
}
html.fw-desktop-app.fw-route-archive .archive-hero{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:24px!important;
  margin-bottom:34px!important;
  align-items:center!important;
}
html.fw-desktop-app.fw-route-archive .archive-eyebrow{margin-bottom:8px!important;font-size:11px!important;}
html.fw-desktop-app.fw-route-archive .archive-hero h1{
  margin:0 0 12px!important;
  font-size:48px!important;
  line-height:1!important;
  letter-spacing:-.07em!important;
}
html.fw-desktop-app.fw-route-archive .archive-hero p{font-size:14px!important;line-height:1.65!important;}
html.fw-desktop-app.fw-route-archive .update-card{
  min-height:0!important;
  padding:18px!important;
  gap:10px!important;
  border-radius:16px!important;
  background:var(--fw-desktop-paper)!important;
}
html.fw-desktop-app.fw-route-archive .update-card strong{font-size:20px!important;}
html.fw-desktop-app.fw-route-archive .update-card span{font-size:12px!important;}
html.fw-desktop-app.fw-route-archive .archive-section-title{align-items:center!important;margin-bottom:14px!important;}
html.fw-desktop-app.fw-route-archive .archive-section-title h2{font-size:27px!important;}
html.fw-desktop-app.fw-route-archive .weekly-grid{gap:14px!important;margin-bottom:38px!important;}
html.fw-desktop-app.fw-route-archive .award-card{
  min-height:390px!important;
  padding:20px 18px 18px!important;
  border-radius:18px!important;
  box-shadow:0 8px 28px rgba(30,28,22,.045)!important;
}
html.fw-desktop-app.fw-route-archive .award-head h3{font-size:25px!important;}
html.fw-desktop-app.fw-route-archive .board-layout{gap:18px!important;margin-bottom:38px!important;}
html.fw-desktop-app.fw-route-archive .daily-board,
html.fw-desktop-app.fw-route-archive .archive-note{border-radius:18px!important;}

/* “更多”内页面沿用统一的软件密度。 */
html.fw-desktop-app.fw-route-more .page > .section:first-of-type{
  padding:26px 0 20px!important;
}
html.fw-desktop-app.fw-route-more .page > .section:first-of-type .hero-title{font-size:42px!important;line-height:1!important;}
html.fw-desktop-app.fw-route-more .page > .section:first-of-type .section-desc{max-width:760px!important;margin-top:10px!important;font-size:14px!important;}
html.fw-desktop-app.fw-route-more .rules-page-wrap{margin-bottom:40px!important;padding:0!important;}
html.fw-desktop-app.fw-route-more .rules-intro,
html.fw-desktop-app.fw-route-more .rules-panel,
html.fw-desktop-app.fw-route-more .rules-clean-card{border-radius:16px!important;box-shadow:none!important;}
html.fw-desktop-app.fw-route-more .trial-page .page-hero{min-height:0!important;padding-bottom:0!important;}
html.fw-desktop-app.fw-route-more .trial-hero-inner{padding:24px 0 20px!important;}
html.fw-desktop-app.fw-route-more .trial-title{font-size:42px!important;line-height:1!important;}
html.fw-desktop-app.fw-route-more .trial-copy{font-size:14px!important;line-height:1.65!important;}
html.fw-desktop-app.fw-route-more .trial-layout{padding:22px 0 0!important;margin-bottom:40px!important;}
html.fw-desktop-app.fw-route-more .trial-public-card,
html.fw-desktop-app.fw-route-more .trial-admin-card,
html.fw-desktop-app.fw-route-more .trial-info-card{border-radius:16px!important;box-shadow:none!important;}

/* 其他栏目仍复用内容，但去掉网页感较强的底部和宽屏导航 */
html.fw-desktop-app:not(.fw-route-square):not(.fw-route-echo):not(.fw-route-buddy) .page > section{
  width:min(1180px,calc(100% - 48px));
  margin-right:auto;
  margin-left:auto;
}

@media(max-width:1180px){
  html.fw-desktop-app.fw-route-square .square-layout{grid-template-columns:minmax(0,1fr)!important;}
  html.fw-desktop-app.fw-route-square .square-side{display:none!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-shell{grid-template-columns:290px minmax(0,1fr)!important;}
}

@media(max-height:720px){
  .fw-desktop-sidebar{gap:4px;padding-top:10px;padding-bottom:8px;}
  .fw-desktop-brand{min-height:42px;}
  .fw-desktop-brand small{display:none;}
  .fw-desktop-compose{min-height:46px;margin:1px 0 4px;}
  .fw-desktop-nav{gap:2px;}
  .fw-desktop-nav-item{min-height:42px;padding-top:5px;padding-bottom:5px;}
  .fw-desktop-nav-item svg{width:19px;height:19px;}
}

@media(max-width:920px){
  html.fw-desktop-app{--fw-desktop-rail:68px;}
  .fw-desktop-sidebar{padding-right:7px;padding-left:7px;}
  .fw-desktop-brand small,
  .fw-desktop-compose span,
  .fw-desktop-nav-item > span{display:none;}
  .fw-desktop-brand span{font-size:19px;}
  .fw-desktop-compose{min-height:48px;border-radius:14px!important;}
  .fw-desktop-nav-item{min-height:48px;}
  .fw-desktop-nav-item b{right:2px;top:2px;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-modal,
  html.fw-desktop-app.fw-route-echo .fw-stable-echo-modal{padding:16px!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-shell{grid-template-columns:270px minmax(0,1fr)!important;}
}

@media(max-width:900px){
  html.fw-desktop-app.fw-route-square .square-hero-inner,
  html.fw-desktop-app.fw-route-square .square-layout{width:calc(100% - 28px)!important;}
  html.fw-desktop-app.fw-route-square .square-hero-copy .hero-copy{display:none!important;}
  html.fw-desktop-app.fw-route-compose .compose-hero-inner{
    width:calc(100% - 32px)!important;
    grid-template-columns:1fr!important;
    align-content:center!important;
    gap:24px!important;
  }
  html.fw-desktop-app.fw-route-compose .compose-page-copy .hero-title{font-size:44px!important;}
  html.fw-desktop-app.fw-route-compose .compose-back{margin-top:12px!important;}
  html.fw-desktop-app.fw-route-compose .compose-page-form{padding:22px!important;}
  html.fw-desktop-app.fw-route-compose .compose-page-form textarea{min-height:150px!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-shell{grid-template-columns:240px minmax(0,1fr)!important;}
  html.fw-desktop-app.fw-route-archive .archive-page{padding-right:18px!important;padding-left:18px!important;}
  html.fw-desktop-app.fw-route-archive .archive-hero{grid-template-columns:1fr!important;}
  html.fw-desktop-app.fw-route-archive .archive-section-title{align-items:flex-start!important;}
}

@media(max-width:800px){
  html.fw-desktop-app.fw-route-buddy .fw-wx-modal,
  html.fw-desktop-app.fw-route-echo .fw-stable-echo-modal{padding:10px!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-shell{grid-template-columns:215px minmax(0,1fr)!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-head{height:58px!important;padding:10px 16px!important;}
  html.fw-desktop-app.fw-route-buddy .fw-wx-title h2{font-size:22px!important;}
  html.fw-desktop-app.fw-route-rooms .polls-hero-inner,
  html.fw-desktop-app.fw-route-rooms .polls-layout,
  html.fw-desktop-app.fw-route-bird .bird-hero .hero-inner,
  html.fw-desktop-app.fw-route-bird .bird-layout{width:calc(100% - 28px)!important;}
}
