/* 仅覆盖手机布局；不修改原页面文字、图片地址、业务代码和桌面样式。 */
@media (max-width:639px){
 :root{--qb-mobile-red:#a83524;--qb-mobile-line:#e8e3db}
 html,body{max-width:100%;overflow-x:clip}
 body{background:#f6f4ef;-webkit-text-size-adjust:100%}
 #root input:not([type=checkbox]):not([type=radio]),#root textarea,#root select{font-size:16px;max-width:100%;border-radius:8px;min-height:43px}
 #root button,#root a{touch-action:manipulation}
 #root p,#root h1,#root h2,#root h3{overflow-wrap:anywhere}
 #root [code-path^="src/components/SiteHeader.tsx:48:"]{background:#fffdf9;border-color:var(--qb-mobile-line)}
 #root [code-path^="src/components/SiteHeader.tsx:49:"]{height:auto;min-height:62px;padding:11px 14px;gap:8px;flex-wrap:wrap}
 #root [code-path^="src/components/SiteHeader.tsx:50:"]{flex:1;min-width:0}
 #root [code-path^="src/components/SiteHeader.tsx:69:"]{font-size:18px;white-space:normal;line-height:1.35}
 #root [code-path^="src/components/SiteHeader.tsx:91:"]{gap:4px;max-width:100%;flex-wrap:wrap}
 #root [code-path^="src/components/SiteHeader.tsx:91:"] button{min-width:32px;min-height:32px}
 #root [code-path^="src/pages/Home.tsx:193:"]{padding:18px 16px}
 #root [code-path^="src/pages/Home.tsx:194:"]{gap:14px}
 #root [code-path^="src/pages/Home.tsx:206:"]{display:block;font-size:12px;margin-top:10px;line-height:1.7}
 #root [code-path^="src/pages/Home.tsx:228:"]{padding:12px 0 0;margin:0}
 #root [code-path^="src/pages/Home.tsx:229:"]{border-left:0;border-right:0;border-radius:0;padding:16px;box-shadow:none}
 #root [code-path^="src/pages/Home.tsx:231:"]{border-radius:9px;background:#f5f4f0;padding:10px 12px;margin-bottom:17px}
 #root [code-path^="src/pages/Home.tsx:263:"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #root [code-path^="src/pages/Home.tsx:275:"]{box-shadow:none;border-radius:9px;min-height:66px;padding:10px;gap:9px}
 #root [code-path^="src/pages/Home.tsx:291:"]{width:35px;height:35px;border-radius:8px;flex-shrink:0}
 #root [code-path^="src/pages/Home.tsx:301:"]{font-size:12px;line-height:1.45}
 #root [code-path^="src/pages/Home.tsx:302:"]{font-size:10px;line-height:1.5}
 #root [code-path^="src/pages/Home.tsx:397:"]{padding-left:15px;padding-right:15px;padding-bottom:calc(95px + env(safe-area-inset-bottom))}
 #root [code-path^="src/components/MobileBottomNav.tsx:158:"]{background:#fffdf9f5;border-color:var(--qb-mobile-line);padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(12px)}
 #root [code-path^="src/components/MobileBottomNav.tsx:159:"]{height:65px;align-items:center;gap:0}
 #root [code-path^="src/components/MobileBottomNav.tsx:159:"]>button,#root [code-path^="src/components/MobileBottomNav.tsx:159:"]>div{min-width:0;flex:1;height:100%;font-size:10px;gap:5px;padding:7px 0}
 #root [code-path^="src/components/MobileBottomNav.tsx:58:"]{order:1}
 #root .qb-layout-board{order:2;color:#a3a3a3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:none;border:0}
 #root [code-path^="src/components/MobileBottomNav.tsx:84:"]{order:3;justify-content:center}
 #root [code-path^="src/components/MobileBottomNav.tsx:85:"]{margin:0;width:38px;height:32px;border-radius:9px;box-shadow:none;flex-shrink:0}
 #root [code-path^="src/components/MobileBottomNav.tsx:93:"]{padding:0;font-size:10px}
 #root [code-path^="src/components/MobileBottomNav.tsx:65:"]{order:4}
 #root [code-path^="src/components/MobileBottomNav.tsx:142:"]{order:5}
 #root .qb-layout-extra-source{display:none!important}
 #root .qb-layout-extra{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--qb-mobile-line);background:#fffdf9;border-radius:6px;padding:5px 7px;min-height:32px;font-size:10px;color:#789192}
 #root .qb-layout-extra svg{width:15px;height:15px}
 #root [code-path^="src/pages/Login.tsx:294:"]{background:#fffdf9;border-color:var(--qb-mobile-line)}
 #root [code-path^="src/pages/Login.tsx:295:"]{height:65px;padding:0 20px}
 #root [code-path^="src/pages/Login.tsx:303:"]{align-items:flex-start;padding:28px 18px 36px}
 #root [code-path^="src/pages/Login.tsx:304:"]{border:1px solid var(--qb-mobile-line);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #44312006}
 #root [code-path^="src/pages/Login.tsx:317:"]{padding:9px 10px;font-size:10px}
 #root [code-path^="src/pages/Login.tsx:321:"]{border-bottom:1px solid var(--qb-mobile-line);padding:0 18px;gap:17px}
 #root [code-path^="src/pages/Login.tsx:323:"]{background:transparent;border:0;border-bottom:2px solid transparent;padding:15px 0;font-size:13px}
 #root [code-path^="src/pages/Login.tsx:323:"][data-active=true]{border-bottom-color:var(--qb-mobile-red);color:var(--qb-mobile-red)}
 #root [code-path^="src/pages/Login.tsx:344:"]{padding:22px 20px}
 #root [code-path^="src/pages/Login.tsx:678:"]{border-radius:8px;height:44px}
 #root [code-path^="src/pages/Profile.tsx:"] img{max-width:100%}
 #root [code-path^="src/pages/Profile.tsx:"] textarea,#root [code-path^="src/pages/NewPost.tsx:"] textarea{min-height:120px}
 #root [code-path^="src/pages/PostDetail.tsx:803:"]{max-width:100%;height:auto;object-fit:contain}
 #root [code-path^="src/pages/PostDetail.tsx:1200:"]{max-width:100%;height:auto;object-fit:contain}
 #root [code-path^="src/pages/PostDetail.tsx:"] pre{max-width:100%;overflow-x:auto}
 #root [code-path^="src/pages/NewPost.tsx:"] form,#root [code-path^="src/pages/Profile.tsx:"] form{max-width:100%;min-width:0}
 #root [role=dialog]{max-width:calc(100vw - 28px);max-height:calc(100dvh - 35px);overflow-y:auto;border-radius:12px}
 #root main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
}
@media(max-width:639px){
 /* 已由原底栏提供相同入口，顶栏为站名与原有打卡/退出操作留出空间。 */
 #root [code-path^="src/components/SiteHeader.tsx:126:"],#root [code-path^="src/components/SiteHeader.tsx:136:"],#root [code-path^="src/components/SiteHeader.tsx:148:"]{display:none}
 #root [code-path^="src/components/SiteHeader.tsx:69:"]{font-size:17px;white-space:nowrap}
 #root [code-path^="src/pages/Home.tsx:231:"] input{min-height:24px;height:24px}
 #root [code-path^="src/pages/Home.tsx:302:"]{display:block!important;-webkit-line-clamp:unset!important}
}
/* 第二版：采用已确认的手机样稿结构，而不是缩小原桌面页面。 */
@media(max-width:639px){
 #root [code-path^="src/pages/Home.tsx:143:"]{display:flex;flex-direction:column;background:#f5f5f2}
 #root [code-path^="src/pages/Home.tsx:143:"]>header{order:-6}
 #root [code-path^="src/pages/Home.tsx:181:"]{order:-5;background:#edece4;border:0}
 #root [code-path^="src/pages/Home.tsx:181:"] h1{font-size:24px!important;line-height:1.4;letter-spacing:1px}
 #root [code-path^="src/pages/Home.tsx:181:"] h1 img{height:30px!important;width:auto}
 #root [code-path^="src/pages/Home.tsx:193:"]{padding:20px 18px 13px}
 #root [code-path^="src/pages/Home.tsx:206:"]{font-size:11px;line-height:1.7;margin-top:8px;color:#7b8276;white-space:pre-line}
 #root [code-path^="src/pages/Home.tsx:221:"]{display:none}
 #root [code-path^="src/components/MobileCheckinStrip.tsx:"]{order:-4}
 #root [code-path^="src/pages/Home.tsx:228:"]{order:-3;padding:0;margin:0;background:#edece4}
 #root [code-path^="src/pages/Home.tsx:229:"]{padding:0;border:0;background:transparent}
 #root [code-path^="src/pages/Home.tsx:231:"]{margin:0 16px 15px;background:#ffffffcf;border:0;border-radius:8px;height:40px;padding:8px 12px}
 #root [code-path^="src/pages/Home.tsx:231:"] input{height:24px;min-height:24px;font-size:14px;border:0;box-shadow:none;padding:0}
 #root [code-path^="src/pages/Home.tsx:263:"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 6px;background:white;padding:19px 10px 18px;border-bottom:1px solid #eae8e3}
 #root [code-path^="src/pages/Home.tsx:275:"]{flex-direction:column;align-items:center;gap:7px;background:transparent!important;border:0!important;border-radius:0;box-shadow:none;padding:0;min-height:0;text-align:center;color:#494640!important}
 #root [code-path^="src/pages/Home.tsx:291:"]{height:36px;width:36px;border-radius:11px;background:#f4ece4;color:#8d6256}
 #root [code-path^="src/pages/Home.tsx:275:"]:nth-child(3n) [code-path^="src/pages/Home.tsx:291:"]{background:#eef1e9;color:#637b6e}
 #root [code-path^="src/pages/Home.tsx:300:"]{width:100%;flex:none}
 #root [code-path^="src/pages/Home.tsx:301:"]{font-size:11px;font-weight:500;line-height:1.5;word-break:normal}
 #root [code-path^="src/pages/Home.tsx:302:"]{font-size:9px;line-height:1.55;color:#99948a;margin-top:4px;opacity:1}
 #root [code-path^="src/pages/Home.tsx:397:"]{background:white;margin-top:10px;padding:0 0 calc(90px + env(safe-area-inset-bottom));width:100%}
 #root [code-path^="src/pages/Home.tsx:480:"]{margin-top:0;padding:0 16px;gap:17px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #eae8e3}
 #root [code-path^="src/pages/Home.tsx:493:"]{font-size:12px;padding:16px 0;flex-shrink:0}
 #root [code-path^="src/pages/Home.tsx:627:"]{padding:40px 18px}
 #root [code-path^="src/pages/Home.tsx:628:"]{font-size:15px;font-weight:500}
 #root [code-path^="src/pages/Home.tsx:631:"]{font-size:12px}
 #root [code-path^="src/pages/Home.tsx:637:"]{border-color:#eae8e3}
 #root [code-path^="src/pages/Home.tsx:638:"]{padding:18px 16px;font-size:13px;background:white}
 #root [code-path^="src/pages/Home.tsx:638:"] h2,#root [code-path^="src/pages/Home.tsx:638:"] h3{font-size:14px;line-height:1.65}
 #root [code-path^="src/pages/Home.tsx:638:"] p{font-size:11px;line-height:1.7}
 #root [code-path^="src/pages/Profile.tsx:"][class~="border"][class~="bg-white"]{border:0;border-radius:12px;overflow:hidden}
 #root [code-path^="src/pages/Profile.tsx:457:"]{gap:0;background:white;border-radius:12px;overflow:hidden;margin-top:16px}
 #root [code-path^="src/pages/Profile.tsx:457:"]>a,#root [code-path^="src/pages/Profile.tsx:457:"]>button{border:0;border-bottom:1px solid #eae8e3;background:white;padding:17px 12px;text-align:left}
 #root [code-path^="src/pages/Profile.tsx:409:"]{margin-top:18px;padding-top:17px}
 #root [code-path^="src/pages/Profile.tsx:411:"],#root [code-path^="src/pages/Profile.tsx:418:"],#root [code-path^="src/pages/Profile.tsx:424:"]{font-size:18px;font-weight:600}
 #root [code-path^="src/pages/NewPost.tsx:"] h1{font-size:23px}
 #root [code-path^="src/pages/NewPost.tsx:"] input,#root [code-path^="src/pages/NewPost.tsx:"] textarea,#root [code-path^="src/pages/NewPost.tsx:"] [role=combobox]{border:1px solid #e5e1d9;background:white;border-radius:8px}
}
@media(max-width:639px){
 #root [code-path^="src/components/MobileCheckinBanner.tsx:42:"]{order:-4}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:43:"]{background:#f9f7f2;border-color:#eae8e3;padding:9px 16px}
 #root [code-path^="src/pages/Profile.tsx:175:"]{padding:18px 16px calc(92px + env(safe-area-inset-bottom))}
 #root [code-path^="src/pages/Profile.tsx:177:"]{margin-bottom:16px;font-size:12px}
 #root [code-path^="src/pages/Profile.tsx:193:"]{border-radius:12px;background:white;overflow:hidden;border:0}
 #root [code-path^="src/pages/Profile.tsx:194:"]{height:85px;background:repeating-linear-gradient(115deg,#e4e8de 0,#e4e8de 1px,#eef0e8 1px,#eef0e8 35px)}
 #root [code-path^="src/pages/Profile.tsx:195:"]{padding:0 20px 22px}
 #root [code-path^="src/pages/Profile.tsx:196:"]{flex-direction:column;align-items:flex-start;gap:8px}
 #root [code-path^="src/pages/Profile.tsx:197:"]{margin-top:-28px;border:5px solid white;border-radius:50%;background:white}
 #root [code-path^="src/pages/Profile.tsx:234:"]{width:100%;padding-top:2px}
 #root [code-path^="src/pages/Profile.tsx:236:"]{font-size:20px;font-weight:600}
 #root [code-path^="src/pages/Profile.tsx:297:"]{font-size:11px}
 #root [code-path^="src/pages/Profile.tsx:307:"]{margin-top:14px;padding-top:13px}
 #root [code-path^="src/pages/Profile.tsx:339:"]{font-size:12px}
}
/* 首页与注册表单：对齐确认样稿的尺寸、色彩和控件样式。 */
@media(max-width:639px){
 :root{--qb-mobile-red:#914b43;--qb-mobile-line:#eae8e3}
 #root [code-path^="src/pages/Login.tsx:281:"]{background-color:#f5f5f2}
 #root [code-path^="src/pages/Login.tsx:303:"]{padding:24px 18px 35px}
 #root [code-path^="src/pages/Login.tsx:304:"]{background:#fff;border:0;border-radius:12px;box-shadow:none}
 #root [code-path^="src/pages/Login.tsx:321:"]{padding:0 22px;gap:22px;background:white}
 #root [code-path^="src/pages/Login.tsx:323:"]{flex:1;min-width:0;font-size:13px;font-weight:500;padding:16px 0;border-radius:0!important;background:transparent!important;box-shadow:none!important;border:0!important;border-bottom:2px solid transparent!important;color:#8d8c87;transform:none!important}
 #root [code-path^="src/pages/Login.tsx:323:"][data-active=true]{color:#914b43!important;border-bottom-color:#914b43!important;font-weight:600}
 #root [code-path^="src/pages/Login.tsx:323:"]:before,#root [code-path^="src/pages/Login.tsx:323:"]:after{display:none!important}
 #root [code-path^="src/pages/Login.tsx:344:"]{padding:22px}
 #root [code-path^="src/pages/Login.tsx:344:"] label{font-size:12px;font-weight:500;line-height:1.7;margin-bottom:7px;color:#302f2d}
 #root [code-path^="src/pages/Login.tsx:344:"] input:not([type=checkbox]):not([type=file]),#root [code-path^="src/pages/Login.tsx:344:"] textarea{width:100%;padding:12px 14px;border:1px solid #eae8e3;background:#fafaf8;border-radius:8px;box-shadow:none;min-height:44px;font-size:14px}
 #root [code-path^="src/pages/Login.tsx:344:"] input:focus,#root [code-path^="src/pages/Login.tsx:344:"] textarea:focus{border-color:#914b43;outline:1px solid #914b43;box-shadow:none}
 #root [code-path^="src/pages/Login.tsx:344:"] p{font-size:11px;color:#8d8c87;line-height:1.8}
 #root [code-path^="src/pages/Login.tsx:376:"]{border:1px solid #eae8e3;border-radius:8px;background:#f4f6f0;padding:15px}
 #root [code-path^="src/pages/Login.tsx:384:"]{border-radius:6px;padding:8px 10px}
 #root [code-path^="src/pages/Login.tsx:478:"]{border:1px solid #eae8e3;border-radius:8px;padding:15px;background:#fafaf8}
 #root [code-path^="src/pages/Login.tsx:493:"]{flex-wrap:wrap;gap:10px}
 #root [code-path^="src/pages/Login.tsx:494:"]{border:1px solid #eae8e3;background:white;color:#637b6e;border-radius:7px;min-height:36px;padding:8px 12px;box-shadow:none}
 #root [code-path^="src/pages/Login.tsx:552:"]{border:1px solid #eae8e3;border-radius:7px;background:#f4f6f0;padding:12px;font-size:11px;line-height:1.8}
 #root [code-path^="src/pages/Login.tsx:678:"]{height:44px;border:0;border-radius:8px;background:#914b43;font-size:14px;font-weight:600;box-shadow:none;margin-top:24px}
 #root [code-path^="src/pages/Home.tsx:193:"]{padding:22px 18px 13px}
 #root [code-path^="src/pages/Home.tsx:263:"]{padding:18px 10px 20px;gap:17px 5px}
 #root [code-path^="src/pages/Home.tsx:291:"]{width:38px;height:38px;border-radius:12px}
 #root [code-path^="src/pages/Home.tsx:301:"]{font-size:11px;font-weight:500;margin-top:1px}
 #root [code-path^="src/pages/Home.tsx:480:"]{gap:22px}
 #root [code-path^="src/pages/Home.tsx:493:"]{font-size:13px;line-height:1.6;font-weight:500;border-radius:0!important;box-shadow:none!important;background:transparent!important}
 #root [code-path^="src/components/MobileBottomNav.tsx:85:"]{background:#914b43}
}
@media(max-width:639px){
 #root:has([code-path^="src/pages/Login.tsx:346:"]) [code-path^="src/pages/Login.tsx:323:"]{color:#8d8c87!important;border-bottom-color:transparent!important;font-weight:500}
 #root:has([code-path^="src/pages/Login.tsx:346:"]) [code-path^="src/pages/Login.tsx:323:"]:nth-child(2){color:#914b43!important;border-bottom-color:#914b43!important;font-weight:600}
}

/* 参考图的首页上半区；打卡仅保留首页黄历条的原入口。 */
@media(max-width:639px){
 #root [code-path^="src/pages/Home.tsx:181:"]{overflow:hidden;background:#edece4!important}
 #root [code-path^="src/pages/Home.tsx:193:"]{position:relative;padding:23px 16px 12px;isolation:isolate}
 #root [code-path^="src/pages/Home.tsx:193:"]:before{content:"ZHONGNAN COMMUNITY";display:block;color:#637f72;font-size:11px;letter-spacing:3.1px;margin-bottom:12px}
 #root [code-path^="src/pages/Home.tsx:193:"]:after{content:"權\A賓";white-space:pre;position:absolute;right:25px;top:2px;z-index:-1;color:#88917e;opacity:.09;font:44px/1.5 "Songti SC","SimSun",serif;pointer-events:none}
 #root [code-path^="src/pages/Home.tsx:181:"] h1,#root [code-path^="src/pages/Home.tsx:181:"] h1 span{font-family:"Songti SC","SimSun",serif!important;font-size:26px!important;font-weight:700;line-height:1.5;color:#30302d!important;letter-spacing:1px}
 #root [code-path^="src/pages/Home.tsx:206:"]{margin-top:8px;font-size:12px;line-height:1.8;color:#7b8276}
 #root [code-path^="src/pages/Home.tsx:229:"]{box-shadow:none}
 #root [code-path^="src/pages/Home.tsx:231:"]{height:44px;border-radius:10px;background:#fffdfc;margin:0 12px 16px;padding:10px 14px;gap:8px}
 #root [code-path^="src/pages/Home.tsx:231:"]:before{content:"⌕";color:#888;font-size:19px;line-height:1}
 #root [code-path^="src/pages/Home.tsx:231:"] input{font-size:14px}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:43:"]{background:#edece4;border:0;padding:5px 16px 16px;box-shadow:none}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:48:"]{background:transparent;border:0;box-shadow:none}
 #root [code-path^="src/components/MobileBottomNav.tsx:116:"]{display:none!important}
}


/* 首页一个同人创作入口，进入细分页面后仍触发原板块按钮。 */
@media(max-width:639px){
 #root .qb-board-fan{display:none!important}
 #root .qb-creation-entry{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:11px;line-height:1.5;color:#494640;background:transparent;border:0;padding:0}
 #root .qb-creation-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#f4ece4;color:#8d6256;font-size:17px;font-weight:600}
 #root .qb-creation-open>:not(.qb-creation-page):not(header){display:none!important}
 #root .qb-creation-page{min-height:calc(100dvh - 130px);background:#f5f5f2;padding:20px 16px 100px}
 #root .qb-creation-back{font-size:13px;color:#637b6e;background:none;border:0;padding:0 0 16px}
 #root .qb-creation-page h1{font-family:"Songti SC",serif;font-size:26px;font-weight:700;margin:0 0 22px;color:#30302d}
 #root .qb-creation-list{display:flex;flex-direction:column;gap:12px}
 #root .qb-creation-card{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #eae8e3;border-radius:12px;background:white;padding:18px 16px;color:#494640}
 #root .qb-creation-card [code-path^="src/pages/Home.tsx:300:"]{flex:1;width:auto}
 #root .qb-creation-card [code-path^="src/pages/Home.tsx:301:"]{font-size:15px;font-weight:600}
 #root .qb-creation-card [code-path^="src/pages/Home.tsx:302:"]{font-size:12px;margin-top:5px}
 #root .qb-creation-card:after{content:'›';color:#999;font-size:22px}
}

/* 管理身份入口与后台手机版：仅改变排版，权限由原程序决定。 */
@media(max-width:639px){
 #root [code-path^="src/components/SiteHeader.tsx:49:"]:has([code-path^="src/components/SiteHeader.tsx:113:"]){height:auto;min-height:56px;flex-wrap:wrap;padding-top:10px;padding-bottom:8px;gap:7px}
 #root [code-path^="src/components/SiteHeader.tsx:91:"]:has([code-path^="src/components/SiteHeader.tsx:113:"]){width:100%;justify-content:flex-end}
 #root [code-path^="src/components/SiteHeader.tsx:91:"]:has([code-path^="src/components/SiteHeader.tsx:113:"]) .qb-layout-extra{display:none}
 #root [code-path^="src/components/SiteHeader.tsx:107:"],#root [code-path^="src/components/SiteHeader.tsx:121:"]{display:inline;font-size:11px}
 #root [code-path^="src/pages/Admin.tsx:383:"]{background:#f5f5f2}
 #root [code-path^="src/pages/Admin.tsx:386:"]{padding:20px 16px 100px}
 #root [code-path^="src/pages/Admin.tsx:398:"]{font:700 26px/1.5 "Songti SC",serif}
 #root [code-path^="src/pages/Admin.tsx:403:"]>button,#root [code-path^="src/pages/Admin.tsx:403:"]>div{border:0;border-radius:10px;padding:14px 10px}
 #root [code-path^="src/pages/Admin.tsx:426:"]{position:relative;top:0;background:transparent;gap:8px;margin-top:18px}
 #root [code-path^="src/pages/Admin.tsx:431:"]{border-radius:8px;font-size:12px;padding:9px 11px}
 #root [code-path^="src/pages/Admin.tsx:386:"] .admin-panel{margin-top:12px;border:1px solid #eae8e3;border-radius:10px;background:white;overflow:hidden}
 #root [code-path^="src/pages/Admin.tsx:386:"] .admin-panel-summary{padding:16px;font-size:14px}
 #root [code-path^="src/pages/Admin.tsx:386:"] .admin-panel>section{padding:16px;margin-top:0;border:0}
 #root [code-path^="src/pages/Admin.tsx:386:"] input,#root [code-path^="src/pages/Admin.tsx:386:"] textarea{max-width:100%;border-radius:7px}
 #root [code-path^="src/pages/Admin.tsx:386:"] h2{font-size:16px}
}

/* 手机管理控件仅显示图标；原按钮 title 和事件保留。 */
@media(max-width:639px){
 #root [code-path^="src/components/SiteHeader.tsx:107:"],#root [code-path^="src/components/SiteHeader.tsx:121:"]{display:none!important}
 #root [code-path^="src/components/SiteHeader.tsx:94:"],#root [code-path^="src/components/SiteHeader.tsx:113:"]{width:34px;height:32px;padding:0;gap:0;justify-content:center}
}
/* 紧凑单行顶栏，统一管理及退出图标尺寸。 */
@media(max-width:639px){
 #root [code-path^="src/components/SiteHeader.tsx:49:"]:has([code-path^="src/components/SiteHeader.tsx:113:"]){height:56px;min-height:56px;flex-wrap:nowrap;padding:0 10px;gap:8px}
 #root [code-path^="src/components/SiteHeader.tsx:50:"]{flex:1;min-width:0;gap:3px}
 #root [code-path^="src/components/SiteHeader.tsx:61:"]{min-width:0;gap:5px}
 #root [code-path^="src/components/SiteHeader.tsx:69:"]{font-size:15px;letter-spacing:-.4px}
 #root [code-path^="src/components/SiteHeader.tsx:91:"]:has([code-path^="src/components/SiteHeader.tsx:113:"]){width:auto;flex:none;justify-content:flex-end;gap:4px}
 #root [code-path^="src/components/SiteHeader.tsx:94:"],#root [code-path^="src/components/SiteHeader.tsx:113:"],#root [code-path^="src/components/SiteHeader.tsx:172:"]{display:flex;align-items:center;justify-content:center;width:30px;height:32px;min-height:32px;flex:none;border:0!important;border-radius:7px;background:transparent!important;box-shadow:none!important;padding:0;gap:0}
 #root [code-path^="src/components/SiteHeader.tsx:94:"],#root [code-path^="src/components/SiteHeader.tsx:113:"]{color:#789192}
 #root [code-path^="src/components/SiteHeader.tsx:172:"]{color:#777}
 #root [code-path^="src/components/SiteHeader.tsx:94:"]:hover,#root [code-path^="src/components/SiteHeader.tsx:113:"]:hover,#root [code-path^="src/components/SiteHeader.tsx:172:"]:hover{background:#edf0ea!important}
 #root [code-path^="src/components/SiteHeader.tsx:94:"] svg,#root [code-path^="src/components/SiteHeader.tsx:113:"] svg,#root [code-path^="src/components/SiteHeader.tsx:172:"] svg{width:18px;height:18px}
}

/* 个人主页：精简身份卡，六个快捷入口与原内容分区。 */
@media(max-width:639px){
 #root [code-path^="src/pages/Profile.tsx:172:"]{background:#f5f5f2}
 #root [code-path^="src/pages/Profile.tsx:175:"]{padding:16px 14px 100px}
 #root [code-path^="src/pages/Profile.tsx:194:"]{height:72px;background:linear-gradient(115deg,#e3e8df,#edf0e7)}
 #root [code-path^="src/pages/Profile.tsx:195:"]{padding:0 18px 18px}
 #root [code-path^="src/pages/Profile.tsx:196:"]{gap:5px}
 #root [code-path^="src/pages/Profile.tsx:197:"]{margin-top:-30px}
 #root [code-path^="src/pages/Profile.tsx:236:"]{font-size:19px;line-height:1.5}
 #root [code-path^="src/pages/Profile.tsx:300:"]{font-size:11px;color:#99948a}
 #root [code-path^="src/pages/Profile.tsx:307:"]{margin-top:12px;padding-top:12px;gap:10px}
 #root [code-path^="src/pages/Profile.tsx:339:"]{font-size:12px;line-height:1.8}
 #root [code-path^="src/pages/Profile.tsx:346:"]{border:0;border-radius:6px;background:#eef1e9;color:#637b6e;padding:6px 9px;font-size:11px;flex:none}
 #root [code-path^="src/pages/Profile.tsx:362:"]{margin-top:10px;gap:8px}
 #root [code-path^="src/pages/Profile.tsx:362:"]>button{border-radius:6px;padding:6px 10px;font-size:11px}
 #root [code-path^="src/pages/Profile.tsx:193:"]:not(.qb-avatar-tools-open) [code-path^="src/pages/Profile.tsx:362:"]>button:not(.qb-avatar-tools-toggle),#root [code-path^="src/pages/Profile.tsx:193:"]:not(.qb-avatar-tools-open) [code-path^="src/pages/Profile.tsx:403:"]{display:none}
 #root .qb-avatar-tools-toggle{background:#fafaf8;border:1px solid #eae8e3;color:#7b8276}
 #root [code-path^="src/pages/Profile.tsx:409:"]{margin-top:14px;padding-top:14px}
 #root [code-path^="src/pages/Profile.tsx:435:"]{margin-top:12px}
 #root [code-path^="src/pages/Profile.tsx:445:"],#root [code-path^="src/pages/Profile.tsx:446:"]{border-radius:8px}
 #root [code-path^="src/pages/Profile.tsx:457:"]{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;padding:8px 5px;gap:0}
 #root [code-path^="src/pages/Profile.tsx:457:"]>a,#root [code-path^="src/pages/Profile.tsx:457:"]>button{display:flex;flex-direction:column;align-items:center;text-align:center;padding:13px 3px;border:0;gap:5px}
 #root [code-path^="src/pages/Profile.tsx:457:"]>a>p:first-of-type,#root [code-path^="src/pages/Profile.tsx:457:"]>button>p:first-of-type{font-size:12px;font-weight:500}
 #root [code-path^="src/pages/Profile.tsx:457:"]>a>p:last-of-type,#root [code-path^="src/pages/Profile.tsx:457:"]>button>p:last-of-type{font-size:10px;margin:0}
 #root .qb-profile-icon{width:22px;height:22px;color:#789192;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:3px}
 #root [code-path^="src/pages/Profile.tsx:511:"]{gap:22px;margin-top:20px}
 #root [code-path^="src/pages/Profile.tsx:518:"]{padding:12px 0;font-size:13px}
 #root [code-path^="src/pages/Profile.tsx:175:"]>section:not([code-path^="src/pages/Profile.tsx:193:"]):not([code-path^="src/pages/Profile.tsx:457:"]){padding:18px;border:0;border-radius:12px;background:white;margin-top:14px;scroll-margin-top:75px}
 #root [code-path^="src/pages/Profile.tsx:175:"]>section h2{font-size:15px;font-weight:600}
 #root [code-path^="src/pages/Profile.tsx:175:"]>section p{overflow-wrap:anywhere}
 /* 消息：标题与说明，圆角列表，统一图标、时间和空状态。 */
 #root [code-path^="src/pages/Notifications.tsx:61:"]{background:#f5f5f2}
 #root [code-path^="src/pages/Notifications.tsx:64:"]{padding:25px 14px 100px}
 #root [code-path^="src/pages/Notifications.tsx:65:"]{font-size:10px;letter-spacing:2px;color:#789192}
 #root [code-path^="src/pages/Notifications.tsx:68:"]{font:700 26px/1.5 "Songti SC",serif;margin-top:7px;color:#30302d}
 #root [code-path^="src/pages/Notifications.tsx:69:"]{font-size:12px;line-height:1.8;color:#99948a;margin-top:7px;max-width:310px}
 #root [code-path^="src/pages/Notifications.tsx:73:"]{border:0;border-radius:12px;overflow:hidden;background:white;margin-top:22px}
 #root [code-path^="src/pages/Notifications.tsx:108:"],#root [code-path^="src/pages/Notifications.tsx:82:"]{padding:18px 15px;gap:12px}
 #root [code-path^="src/pages/Notifications.tsx:114:"],#root [code-path^="src/pages/Notifications.tsx:87:"]{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#f3eee7;margin:0}
 #root [code-path^="src/pages/Notifications.tsx:118:"],#root [code-path^="src/pages/Notifications.tsx:91:"]{font-size:12px;line-height:1.8}
 #root [code-path^="src/pages/Notifications.tsx:125:"]{font-size:13px;line-height:1.7;margin-top:5px}
 #root [code-path^="src/pages/Notifications.tsx:129:"],#root [code-path^="src/pages/Notifications.tsx:97:"]{font-size:12px;line-height:1.8;background:#fafaf8;border-radius:4px;padding:7px 9px;margin-top:7px}
 #root [code-path^="src/pages/Notifications.tsx:133:"],#root [code-path^="src/pages/Notifications.tsx:100:"]{font-size:10px;margin-top:8px;color:#aaa59b}
 #root [code-path^="src/pages/Notifications.tsx:140:"]{padding:55px 22px;font-size:12px;line-height:1.8;color:#99948a}
 #root [code-path^="src/pages/Notifications.tsx:140:"]:before{content:"";display:block;width:44px;height:36px;border:1.5px solid #9fae9f;border-radius:10px;margin:0 auto 22px;background:linear-gradient(#9fae9f,#9fae9f) 11px 12px/22px 1.5px no-repeat,linear-gradient(#9fae9f,#9fae9f) 11px 20px/15px 1.5px no-repeat}
 #root [code-path^="src/pages/Notifications.tsx:178:"]{border-radius:7px;background:#eef1e9;color:#637b6e}
}

/* 三种身份主页：保留原权限分支，明确角色与对应后台入口。 */
@media(max-width:639px){
 #root .qb-profile-role,#root [code-path^="src/pages/Profile.tsx:239:"],#root [code-path^="src/pages/Profile.tsx:242:"]{display:inline-block;font-family:system-ui;font-size:10px;font-weight:500;line-height:1.6;padding:3px 7px;border-radius:5px;margin-left:8px;vertical-align:middle}
 #root .qb-profile-role{background:#f1f1ed;color:#8a897f}
 #root [code-path^="src/pages/Profile.tsx:242:"]{background:#eef2ec;color:#637f72}
 #root [code-path^="src/pages/Profile.tsx:239:"]{background:#f5ebe6;color:#914b43}
 #root [data-qb-role=admin] [code-path^="src/pages/Profile.tsx:194:"]{background:linear-gradient(115deg,#eaddd5,#f1ebe2)}
 #root .qb-profile-management{display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;padding:17px 18px;border:0;border-radius:12px;background:#eef2ec;color:#637f72;font-size:13px;font-weight:600;text-align:left}
 #root .qb-profile-management svg{width:20px;height:20px;flex:none}
 #root .qb-profile-management:after{content:'›';margin-left:auto;font-size:20px;font-weight:400}
 #root:has([data-qb-role=admin]) .qb-profile-management{background:#f5ebe6;color:#914b43}
 #root [code-path^="src/pages/Profile.tsx:619:"]{border:0;border-radius:9px;background:#f4eee8;padding:14px}
}
/* 三种身份共用的偏好页：设置分组、阅读选项卡及底栏操作。 */
@media(max-width:639px){
 #root [code-path^="src/pages/Profile.tsx:534:"]{background:transparent!important;padding:0!important;border-radius:0!important}
 #root [code-path^="src/pages/Profile.tsx:535:"]{font:700 22px/1.5 "Songti SC",serif!important;margin:4px 2px 0}
 #root [code-path^="src/pages/Profile.tsx:536:"]{font-size:12px;line-height:1.8;color:#99948a;margin:7px 2px 20px}
 #root [code-path^="src/pages/Profile.tsx:540:"],#root [code-path^="src/pages/Profile.tsx:576:"],#root [code-path^="src/pages/Profile.tsx:1110:"],#root [code-path^="src/pages/Profile.tsx:619:"],#root [code-path^="src/pages/Profile.tsx:645:"]{padding:18px;margin-top:14px;border:0;border-radius:12px;background:white}
 #root [code-path^="src/pages/Profile.tsx:541:"],#root [code-path^="src/pages/Profile.tsx:577:"],#root [code-path^="src/pages/Profile.tsx:1111:"],#root [code-path^="src/pages/Profile.tsx:646:"]{font-size:14px;font-weight:600;color:#494640;line-height:1.6}
 #root [code-path^="src/pages/Profile.tsx:543:"],#root [code-path^="src/pages/Profile.tsx:579:"],#root [code-path^="src/pages/Profile.tsx:1113:"]{display:block;font-size:11px;line-height:1.8;color:#99948a;font-weight:400;margin-top:7px}
 #root [code-path^="src/pages/Profile.tsx:547:"],#root [code-path^="src/pages/Profile.tsx:583:"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;align-items:stretch}
 #root [code-path^="src/pages/Profile.tsx:548:"],#root [code-path^="src/pages/Profile.tsx:560:"],#root [code-path^="src/pages/Profile.tsx:584:"],#root [code-path^="src/pages/Profile.tsx:596:"]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:18px 7px 14px;min-height:109px;border:1px solid #eae8e3!important;border-radius:9px;background:#fafaf8;color:#77766e;font-size:11px;line-height:1.7;text-align:center}
 #root [code-path^="src/pages/Profile.tsx:547:"]>button:before,#root [code-path^="src/pages/Profile.tsx:583:"]>button:before{content:"";display:block;width:28px;height:33px;border:1.5px solid currentColor;border-radius:4px;background:linear-gradient(currentColor,currentColor) 5px 7px/17px 1px no-repeat,linear-gradient(currentColor,currentColor) 5px 14px/17px 1px no-repeat,linear-gradient(currentColor,currentColor) 5px 21px/12px 1px no-repeat;opacity:.8}
 #root [code-path^="src/pages/Profile.tsx:560:"]:before,#root [code-path^="src/pages/Profile.tsx:596:"]:before{width:39px;height:29px;background:linear-gradient(currentColor,currentColor) center/1px 100% no-repeat,linear-gradient(currentColor,currentColor) 5px 7px/10px 1px no-repeat,linear-gradient(currentColor,currentColor) 24px 7px/10px 1px no-repeat,linear-gradient(currentColor,currentColor) 5px 14px/10px 1px no-repeat,linear-gradient(currentColor,currentColor) 24px 14px/10px 1px no-repeat}
 #root [code-path^="src/pages/Profile.tsx:547:"]>button[class*="bg-[#a83524]"],#root [code-path^="src/pages/Profile.tsx:547:"]>button[class*="bg-[#789192]"],#root [code-path^="src/pages/Profile.tsx:583:"]>button[class*="bg-[#a83524]"],#root [code-path^="src/pages/Profile.tsx:583:"]>button[class*="bg-[#789192]"]{border-color:#789192!important;background:#eef2ec;color:#637f72}
 #root [code-path^="src/pages/Profile.tsx:547:"]>button[class*="border-transparent"]:after,#root [code-path^="src/pages/Profile.tsx:583:"]>button[class*="border-transparent"]:after{content:"✓";position:absolute;top:6px;right:8px;color:#637f72;font-size:12px}
 #root [code-path^="src/pages/Profile.tsx:609:"],#root [code-path^="src/pages/Profile.tsx:1140:"]{font-size:11px;line-height:1.9;color:#99948a;margin-top:13px;padding:10px 12px;background:#fafaf8;border-radius:7px}
 #root [code-path^="src/pages/Profile.tsx:1118:"],#root [code-path^="src/pages/Profile.tsx:626:"]{min-height:38px;padding:9px 12px;border:1px solid #dde4da;border-radius:7px;background:#eef2ec;color:#637f72;font-size:12px;line-height:1.7}
 #root [code-path^="src/pages/Profile.tsx:619:"]{display:flex;flex-direction:column;align-items:stretch;gap:13px;border-left:3px solid #789192}
 #root [code-path^="src/pages/Profile.tsx:620:"]{font-size:12px;line-height:1.9}
 #root [code-path^="src/pages/Profile.tsx:622:"]{display:block;color:#637f72;font-weight:500;margin-top:4px}
 #root [code-path^="src/pages/Profile.tsx:626:"]{margin-left:0;width:100%}
 #root:has([data-qb-role=admin]) [code-path^="src/pages/Profile.tsx:619:"]{border-left-color:#914b43}
 #root:has([data-qb-role=admin]) [code-path^="src/pages/Profile.tsx:622:"]{color:#914b43}
 #root [code-path^="src/pages/Profile.tsx:1036:"]{margin-top:9px;justify-content:flex-end}
 #root [code-path^="src/pages/Profile.tsx:1039:"]{padding:5px 8px;background:#f5f5f2;border-radius:6px;font-size:11px;color:#789192}
 #root [code-path^="src/pages/Profile.tsx:1051:"]{font-size:11px;line-height:1.9;color:#99948a;margin-top:9px}
 #root [code-path^="src/pages/Profile.tsx:1054:"]{margin-top:15px}
 #root [code-path^="src/pages/Profile.tsx:1058:"]{padding:11px 9px;border:1px solid #eae8e3;border-radius:8px;gap:5px;background:#fafaf8}
 #root [code-path^="src/pages/Profile.tsx:1062:"]{font-size:12px;line-height:1.8;min-width:0}
 #root [code-path^="src/pages/Profile.tsx:1065:"]{display:block;margin:2px 0 0;font-size:10px;line-height:1.7}
 #root [code-path^="src/pages/Profile.tsx:1068:"],#root [code-path^="src/pages/Profile.tsx:1077:"],#root [code-path^="src/pages/Profile.tsx:1086:"]{display:flex;align-items:center;justify-content:center;flex:none;width:29px;height:32px;padding:0;background:white;border:1px solid #eae8e3;border-radius:6px;color:#789192}
}
/* 普通用户仅保留首页唯一打卡入口，不显示底栏身份项设置。 */
@media(max-width:639px){
 #root:has([data-qb-role=user]) [code-path^="src/pages/Profile.tsx:1058:"]:has([code-path^="src/pages/Profile.tsx:1065:"]){display:none}
}

@media(max-width:639px){#root .qb-header-backup{display:inline-flex!important}}

/* 帖子列表分页，适用于手机与网页。 */
.qb-post-pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px auto;padding:0 14px 24px;font:12px/1.7 system-ui;color:#8d8c87}.qb-post-pagination button{padding:9px 14px;border:1px solid #eae8e3;border-radius:7px;background:white;color:#637b6e}.qb-post-pagination button:disabled{opacity:.4;cursor:default}@media(max-width:639px){.qb-post-pagination{padding-bottom:90px}}
/* 黄历本地新稿：浅纸色、朱红日期、清晰宜忌，保留撕页动画与原底图。 */
@media(max-width:639px){
 #root [code-path^="src/components/MobileCheckinBanner.tsx:87:"]{border-radius:16px;background:#f5f5f2;box-shadow:0 20px 65px #0002}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:91:"]{padding:12px 16px;background:#fffdf9;border-color:#eae8e3}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:92:"]{font:600 16px/1.6 "Songti SC",serif;color:#494640;letter-spacing:1px}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:102:"]{padding:30px 24px 20px}
 #root .almanac-container{filter:drop-shadow(0 8px 10px rgba(65,55,35,.09))}
 #root .almanac-container .page{background:#fffaf0;border-radius:8px;box-shadow:0 0 0 1px #e9dfcf,inset 0 0 40px #fff4df60}
 #root .almanac-container .stack-edges{border-radius:8px;background:#f1e9d9;box-shadow:0 3px #eee4d1,0 6px #e5dcc9,0 9px 12px #65502c12}
 #root .almanac-container .binding{left:0;right:0;top:-12px;height:28px;border-radius:8px 8px 3px 3px;background:#914b43;box-shadow:0 2px 4px #582b2220;padding:0 23px}
 #root .almanac-container .binding:before{display:none}
 #root .almanac-container .rivet{width:7px;height:7px;background:#d9bba0;box-shadow:none}
 #root .almanac-container .emblem{font-size:10px;color:#f5e9dc;letter-spacing:5px;text-shadow:none}
 #root .almanac-container .corner{border-width:1px;opacity:.35}
 #root .almanac-container .border-ornament{inset:10px;border-color:#914b4318}
 #root .almanac-container .border-ornament:before,#root .almanac-container .border-ornament:after{display:none}
 #root .almanac-container .perfo{top:24px;opacity:.35}
 #root .almanac-container .header{padding:34px 16px 15px;background:transparent;color:#827869}
 #root .almanac-container .header:after{left:25px;right:25px;height:1px;background:#e7ddcc}
 #root .almanac-container .header-year{font-size:12px;letter-spacing:3px;color:#789192;margin-bottom:3px;opacity:1}
 #root .almanac-container .header-ganzhi{font-size:10px;letter-spacing:1px;color:#9e9384;margin-bottom:8px;opacity:1}
 #root .almanac-container .solar-big{font:600 70px/1 "Songti SC",serif;color:#914b43;text-shadow:none;letter-spacing:-2px}
 #root .almanac-container .solar-month{font-size:12px;letter-spacing:2px;color:#746b5f;margin-top:7px;opacity:1}
 #root .almanac-container .weekday-row{font-size:11px;color:#9a9184;margin-top:8px}
 #root .almanac-container .weekday-row .divider{background:#d9d1c4}
 #root .almanac-container .lunar-section{padding:15px 18px 13px}
 #root .almanac-container .lunar-section:before{display:none}
 #root .almanac-container .lunar-month-display{display:inline;font:500 17px/1.5 "Songti SC",serif;color:#494640;letter-spacing:2px;margin-right:7px}
 #root .almanac-container .lunar-day-display{display:inline;font:600 21px/1.5 "Songti SC",serif;letter-spacing:2px;color:#494640}
 #root .almanac-container .lunar-ganzhi{font-size:10px;color:#9a9184;margin-top:5px}
 #root .almanac-container .meta-row{margin-top:7px;gap:9px}
 #root .almanac-container .animal-badge{color:#928675;font-size:10px}
 #root .almanac-container .term-badge{border-radius:5px;background:#eef2e9;color:#637b6e;font-size:10px}
 #root .almanac-container .jianchu-bar{margin:0 22px;padding:9px 0;border-color:#dfd6c7}
 #root .almanac-container .jianchu-name{font:600 14px/1.6 "Songti SC",serif;color:#914b43;letter-spacing:2px}
 #root .almanac-container .jianchu-desc{font-size:10px;line-height:1.7;color:#9a9184;margin-top:3px}
 #root .almanac-container .yiji-section{padding:16px 0 54px;margin:0 13px;gap:8px}
 #root .almanac-container .yi-box,#root .almanac-container .ji-box{padding:0 5px}
 #root .almanac-container .yi-box{border-color:#e5dccd}
 #root .almanac-container .yiji-header{margin-bottom:9px}
 #root .almanac-container .yiji-circle{width:25px;height:25px;font:600 13px/1 "Songti SC",serif;border-radius:7px}
 #root .almanac-container .yi-circle{background:#eaf0e6;color:#637b6e}
 #root .almanac-container .ji-circle{background:#f3e7de;color:#914b43}
 #root .almanac-container .yiji-list{gap:5px}
 #root .almanac-container .yiji-tag{font-size:11px;padding:2px 4px;border:0;background:transparent;line-height:1.7}
 #root .almanac-container .yi-tag{color:#637b6e}
 #root .almanac-container .ji-tag{color:#914b43}
 #root .almanac-container .page-imprint{font-size:9px;letter-spacing:2px;color:#b0a38f;padding-bottom:17px}
 #root .almanac-container .hint-bubble{bottom:30px;right:16px;background:#fffaf0;color:#914b43;border-color:#ddcbbb;font-size:10px;padding:5px 9px;border-radius:7px;box-shadow:0 2px 5px #65502c10}
 #root [code-path^="src/components/CheckinAlmanac.tsx:632:"],#root [code-path^="src/components/CheckinAlmanac.tsx:639:"]{border-radius:6px;font-size:10px;padding:6px 9px;box-shadow:none}
 #root [code-path^="src/components/CheckinAlmanac.tsx:632:"]{background:#914b43;color:#fff9ed}
 #root [code-path^="src/components/CheckinAlmanac.tsx:680:"]{font-size:11px;line-height:1.9;margin-top:22px;color:#99948a}
}
@media(max-width:639px){
 #root .almanac-container .hint-bubble{bottom:-25px;right:0;left:0;width:max-content;max-width:100%;margin:0 auto;animation:none}
 #root [code-path^="src/components/CheckinAlmanac.tsx:680:"]{margin-top:41px}
}

/* 黄历第二稿：日期浏览和打卡分开，手机上一次看全。 */
.qb-almanac-date-nav{display:flex;align-items:center;justify-content:space-between;margin:0 0 23px;color:#99948a;font:11px/1.7 system-ui}.qb-almanac-date-nav button{display:flex;align-items:center;justify-content:center;width:32px;height:28px;border:1px solid #eae8e3;border-radius:6px;background:#fffdf9;color:#789192;font-size:22px}.qb-almanac-date-nav button:disabled{opacity:.3}.qb-almanac-checkin{width:100%;margin-top:18px;min-height:42px;border:0;border-radius:8px;background:#914b43;color:#fff9ed;font-size:13px;font-weight:600}.qb-almanac-checkin:disabled{background:#eef2ec;color:#637b6e}.qb-almanac-feedback,.qb-almanac-error{text-align:center;font-size:11px;line-height:1.8;margin-top:8px;color:#637b6e}.qb-almanac-error{color:#914b43}
@media(max-width:639px){
 #root [code-path^="src/components/MobileCheckinBanner.tsx:102:"]{padding:14px 23px 16px}
 #root .qb-almanac-v2 .almanac-container .header{padding:30px 14px 10px}
 #root .qb-almanac-v2 .almanac-container .header-ganzhi{margin-bottom:5px}
 #root .qb-almanac-v2 .almanac-container .solar-big{font-size:46px}
 #root .qb-almanac-v2 .almanac-container .solar-month{margin-top:4px;font-size:11px}
 #root .qb-almanac-v2 .almanac-container .weekday-row{margin-top:5px;font-size:10px}
 #root .qb-almanac-v2 .almanac-container .lunar-section{padding:9px 14px}
 #root .qb-almanac-v2 .almanac-container .lunar-month-display{font-size:15px}
 #root .qb-almanac-v2 .almanac-container .lunar-day-display{font-size:17px}
 #root .qb-almanac-v2 .almanac-container .meta-row{margin-top:4px}
 #root .qb-almanac-v2 .almanac-container .jianchu-bar{padding:6px 0}
 #root .qb-almanac-v2 .almanac-container .yiji-section{padding:11px 0 14px}
 #root .qb-almanac-v2 .almanac-container .yiji-header{margin-bottom:6px}
 #root .qb-almanac-v2 .almanac-container .yiji-circle{width:22px;height:22px;font-size:12px}
 #root .qb-almanac-v2 .almanac-container .yiji-list{gap:3px}
 #root .qb-almanac-v2 .almanac-container .yiji-tag{font-size:10px;padding:1px 3px}
 #root .qb-almanac-v2 .almanac-container .page-imprint{padding-bottom:12px}
 #root .qb-almanac-v2 [code-path^="src/components/CheckinAlmanac.tsx:680:"]{margin-top:10px;font-size:10px}
}
/* 黄历弹窗随内容收起，窄屏仍可滚动 */
@media(max-width:639px){
 #root [code-path^="src/components/MobileCheckinBanner.tsx:83:"]{justify-content:center;padding-top:24px;padding-bottom:24px}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:87:"]{flex:0 1 auto;max-height:calc(100dvh - 48px)}
 #root [code-path^="src/components/MobileCheckinBanner.tsx:102:"]{flex:0 1 auto}
}

@media(max-width:639px){
#root [code-path^="src/pages/PostDetail.tsx:620:"]{overflow-wrap:anywhere;line-height:1.5;font-weight:650}
#root [code-path^="src/pages/PostDetail.tsx:575:"]{gap:8px 18px;color:#85877e;margin-bottom:18px}
#root [code-path^="src/pages/PostDetail.tsx:683:"]{line-height:2.05;letter-spacing:.02em}
#root [code-path^="src/pages/PostDetail.tsx:803:"]{display:block;max-width:100%;height:auto;margin:18px auto;border-radius:8px}
#root [code-path^="src/pages/NewPost.tsx:"] form>div{padding:20px;border:1px solid #e8e5dc;background:#fffdf9;border-radius:10px;margin-top:18px}
#root [code-path^="src/pages/NewPost.tsx:"] label{line-height:1.7}
#root [code-path^="src/pages/NewPost.tsx:"] input:not([type=checkbox]):not([type=radio]),#root [code-path^="src/pages/NewPost.tsx:"] textarea{border-radius:8px;border-color:#dedfd5;padding:12px}
#root [code-path^="src/pages/NewPost.tsx:917:"]{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 0!important;border:0!important}
#root [code-path^="src/pages/NewPost.tsx:918:"]{min-height:44px;border-radius:8px;padding:0 24px}
#root [code-path^="src/pages/Notifications.tsx:108:"]{padding:22px 24px;border-bottom:1px solid #eeece4;gap:16px}
#root [code-path^="src/pages/Notifications.tsx:125:"]{white-space:normal;overflow-wrap:anywhere;line-height:1.6;margin-top:7px}
#root [code-path^="src/pages/Notifications.tsx:129:"]{margin-top:10px;line-height:1.8}
#root [code-path^="src/pages/Notifications.tsx:"] h1{font-size:24px;margin-bottom:18px}

#root main[code-path^="src/pages/PostDetail.tsx:290:"]{padding:20px 18px 100px}
#root [code-path^="src/pages/PostDetail.tsx:620:"]{font-size:23px}
#root [code-path^="src/pages/PostDetail.tsx:683:"]{font-size:16px}
#root [code-path^="src/pages/PostDetail.tsx:575:"]{font-size:10px;line-height:1.8}
#root [code-path^="src/pages/NewPost.tsx:"] form>div{padding:16px;margin-top:14px}
#root [code-path^="src/pages/NewPost.tsx:"] textarea{line-height:1.8;min-height:180px}
#root [code-path^="src/pages/NewPost.tsx:917:"]{padding-bottom:24px!important}
#root [code-path^="src/pages/Notifications.tsx:108:"]{padding:20px 16px;gap:12px}
#root [code-path^="src/pages/Notifications.tsx:"] h1{font-size:22px}
}
