
:root{--brand:#245847;--ink:#243f36;--paper:#f8f7f2;--gold:#b38a49;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-size:17px}
body{background:#e7ebe5}header,main{background:var(--paper)}header{padding:22px 22px 18px;align-items:center;border-bottom:1px solid #e7e9df}header>span{font-size:13px;letter-spacing:1px;color:#859184}.app-brand{display:flex;align-items:center;gap:10px!important}.app-brand img{width:37px;height:42px;object-fit:contain}.app-brand>span{font-size:24px;letter-spacing:2px}.app-brand small{font-size:12px;letter-spacing:4px;color:#738675;margin-top:3px}main{padding:20px 22px 110px;min-height:calc(100svh - 91px)}h1{font-size:29px;font-weight:650;letter-spacing:1px;margin:3px 0 12px}h2{font-size:19px;letter-spacing:.3px;margin:27px 0 14px}.section-caption{float:right;font-size:12px;font-weight:400;letter-spacing:1px;color:#919987;padding-top:5px}p{line-height:1.85}.muted{font-size:14px;color:#7c887c}button,.action{border-radius:12px;transition:background .18s,box-shadow .18s;min-height:42px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #b38a49;outline-offset:3px}button.primary,.primary{background:var(--brand);color:white;box-shadow:0 3px 8px #24584712}.card{border:1px solid #e3e7db;background:#fffefa;border-radius:18px;box-shadow:0 4px 16px #27483204}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 110% 0%,#577b5d 0,transparent 65%),linear-gradient(125deg,#1f493c,#32604a);margin:-20px -22px 24px;padding:28px 25px;border-radius:0 0 28px 28px}.hero:after{content:"";position:absolute;pointer-events:none;width:155px;height:260px;border:1px solid #d8d9ad24;border-radius:100%;right:-70px;top:-50px;transform:rotate(30deg);box-shadow:0 0 0 24px #d8d9ad09,0 0 0 48px #d8d9ad06}.hero>*{position:relative;z-index:1}.hero h1{font-size:32px;line-height:1.55;font-weight:550;letter-spacing:3px;margin:17px 0 10px}.hero .muted{font-size:12px;letter-spacing:2px;color:#c1d0bd}.hero p{font-size:15px;color:#d7e2d1}.hero .search{margin:22px 0 0}.hero .search input{background:#fffffff5;border:0;font-size:15px}.hero .search button{background:#c4a169;color:#183d30;font-size:15px;border:0}.grid{gap:11px}.grid .card{padding:18px 15px;min-height:124px}.grid .card:before{display:block;font-size:23px;color:#60836b;margin-bottom:12px;line-height:1}.grid [data-page=find]:before{content:"◎"}.grid [data-page=ask]:before{content:"✧"}.grid [data-page=community]:before{content:"☷"}.grid [data-page=mine]:before{content:"♡"}.grid .card strong{font-size:18px;font-weight:600;margin-bottom:6px}.grid .card .muted{font-size:13px}.grid [data-page=ask]{background:#eef2e8}.search{gap:8px}.search input{font-size:16px;background:white;border-color:#e2e6dc;padding:13px}.search button{padding:10px 15px}.actions{gap:8px}.actions button{font-size:15px;padding:11px 13px}.meridian-group{border-color:#e2e7db;border-radius:14px;background:#fffefa}.meridian-group summary{padding:17px 15px;font-size:16px}.meridian-group summary small{font-size:13px;color:#97a08d}.meridian-group .point{border:0;border-bottom:1px solid #edf0e6;border-radius:6px}.point small{font-size:12px}.notice{border:0;border-left:2px solid #b59e70;border-radius:0 8px 8px 0;background:#efeee4;color:#82806a;padding:11px 13px;font-size:13px}.chips button{border-color:#dfe6d8;font-size:15px;background:#fffefa}.bubble{background:#eef2e7;border:1px solid #e2e8d9;border-radius:4px 18px 18px 18px;padding:19px 17px;font-size:16px;line-height:1.95;overflow-wrap:anywhere}.bubble.user{margin-left:28px;border-radius:18px 4px 18px 18px;background:#fffefa;color:#375a49}.composer{padding:18px}.composer>label{display:block;font-size:15px;margin-bottom:10px;font-weight:600}.composer textarea{font-size:17px;background:#fcfcf8;padding:13px}.composer>.primary{margin-top:10px;min-width:92px}.ai-disclaimer{font-size:13px;color:#7a8774}.chat-history-bar strong{font-size:16px}.answer-points>strong{font-size:15px}.answer-points .chips button{font-size:14px}.empty{border:1px dashed #dfe5d7;border-radius:14px;font-size:15px;background:#fafbf6}.member-head strong{font-size:21px}.avatar{background:#e3eadb;color:#5e7b63}.local-preview-button{border-radius:14px;overflow:hidden}.local-preview-button span{background:#f0f3e9}nav[aria-label="主导航"]{border-top:1px solid #e1e6dc;background:#fffefbf5;backdrop-filter:blur(16px);padding:8px 8px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 18px #29492e05}nav[aria-label="主导航"] button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 2px;min-height:52px;border-radius:12px;color:#929b8f;font-size:12px;letter-spacing:.4px}nav[aria-label="主导航"] svg{width:22px;height:22px}nav[aria-label="主导航"] button.active{color:#245847;background:#edf2e7;font-weight:600}dialog{background:#fffefa;box-shadow:0 20px 80px #1f423333}select{font-size:15px;color:#45654e}#account-card{background:linear-gradient(135deg,#e8efdf,#f9faf4);padding:22px}
@media(min-width:600px){body{padding-top:24px}header{border-radius:24px 24px 0 0}header,main{box-shadow:0 0 40px #264a3208}}
@media(max-width:370px){main{padding-left:16px;padding-right:16px}.hero{margin-left:-16px;margin-right:-16px}.section-caption{font-size:11px}.grid .card{padding:15px 12px}.search input{min-width:0;font-size:14px}.app-brand>span{font-size:22px}}
@media(prefers-reduced-motion:reduce){button,.action{transition:none}}

.tip-card{display:block;width:100%;text-align:left;margin:10px 0;padding:18px;background:#fffdf7;border:1px solid #e5e3d5;border-radius:16px}.tip-card>small{font-size:12px;letter-spacing:1px;color:#9b824f}.tip-card strong{display:block;font-size:18px;margin-top:8px}.tip-card strong span{float:right;color:#9caa90}.tip-card p{font-size:14px;color:#7e8976;margin:9px 0 0}

.app-copyright{max-width:480px;margin:auto;background:var(--paper);padding:0 15px 105px;text-align:center;font-size:12px;color:#8b9585}main{padding-bottom:28px}

body[data-page=detail] main{padding-top:10px;padding-bottom:8px;min-height:0}body[data-page=detail] main>button{min-height:32px;padding:6px 12px;font-size:14px}body[data-page=detail] article.card{margin:8px 0;padding:14px}body[data-page=detail] article h1{font-size:27px;margin:5px 0}body[data-page=detail] article>p.muted{margin:4px 0}body[data-page=detail] .local-preview{margin:8px 0}body[data-page=detail] .local-preview svg{height:clamp(130px,28svh,260px)!important;max-height:28svh!important;aspect-ratio:auto!important;background:#f5f7f1}body[data-page=detail] .local-preview-button span{font-size:12px;padding:5px}body[data-page=detail] article h2{font-size:17px;margin:10px 0 5px}body[data-page=detail] article>p{font-size:14px;line-height:1.6;margin:6px 0}body[data-page=detail] .actions{margin:8px 0;gap:6px}body[data-page=detail] .actions button{font-size:14px;padding:8px 10px;min-height:34px}body[data-page=detail] .notice{font-size:12px;padding:6px 8px}body[data-page=detail] .app-copyright{padding-top:4px}

.recent-more summary{cursor:pointer;text-align:center;padding:12px;color:#58765e;font-size:14px;list-style:none}.recent-more summary::-webkit-details-marker{display:none}.recent-more .less-label{display:none}.recent-more[open] .less-label{display:inline}.recent-more[open] .more-label{display:none}

.wellness-clock{margin:22px 0;padding:17px;border:1px solid #e2dcc8;border-radius:20px;background:linear-gradient(145deg,#fffdf7,#f3f0e4)}.clock-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.clock-heading small{font-size:12px;letter-spacing:1px;color:#a08b62}.clock-heading h2{margin:6px 0 12px;font-size:20px}.clock-heading button{font-size:12px;padding:6px 9px;min-height:32px}.clock-date{padding:12px;border-top:1px solid #e6dfcc;border-bottom:1px solid #e6dfcc;font-size:14px;color:#61725d}.clock-date span{display:block;margin-top:5px;font-size:13px;color:#9a8966}.clock-digital{display:block;font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:4px;margin-top:9px;color:#af8a4e}.wellness-clock svg{display:block;width:100%;height:auto;margin:14px 0}.clock-sector{cursor:pointer}.clock-sector:focus-visible{outline:none}.clock-sector:focus-visible path,.clock-sector:hover path{stroke:#bb8742;stroke-width:3}.clock-info{padding:13px;background:#fffdf7;border-radius:12px}.clock-info>small{font-size:13px;color:#9d885c}.clock-info h3{font-size:19px;margin:8px 0}.clock-info p{font-size:14px;line-height:1.8;color:#74816a}.clock-info summary{font-size:14px;cursor:pointer;color:#285e4a;padding:8px 0}.clock-info .chips{max-height:220px;overflow:auto}.clock-info .chips button{font-size:13px;padding:6px 9px;min-height:32px}.clock-note{font-size:12px;color:#979984;line-height:1.7;margin-bottom:0}

.clock-actions{display:flex;flex-direction:column;gap:5px}.wallpaper-dialog{width:min(94vw,430px)}.wallpaper-dialog>img{display:block;width:auto;max-width:100%;height:45svh;margin:auto;border-radius:12px}.wallpaper-dialog h2{margin-top:0}

/* Keep selected chips readable against the shared light chip style. */
.chips button.active,.chips button.active:hover,.chips button.active:focus-visible{background:#245847;color:#fff;border-color:#245847}

.share-entry{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;margin:18px 0;padding:17px}.share-entry strong{font-size:18px}.share-entry small{font-size:13px;color:#89947d}.share-dialog{width:min(94vw,420px)}.share-dialog h2{margin-top:0}.share-code{padding:20px;text-align:center;background:#eff3e8;border-radius:12px;color:#819273;font-size:15px}.share-code img{width:180px;height:180px;object-fit:contain;max-width:100%}.share-platform{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 4px;border-bottom:1px solid #e5e8dc;color:#365b45;font-size:15px;text-decoration:none}.share-platform small{margin-left:auto;font-size:13px;color:#89957c}.share-platform img{width:160px;display:block;margin:auto}.share-dialog h3{font-size:16px}

/* Shared browser layout: preserve the phone design and use wider screens. */
main>*{min-width:0}main p,.card,.bubble{overflow-wrap:anywhere}
@media(max-width:599px){
  input,textarea,.hero .search input,.search input{font-size:18px}
  .actions button,.chips button{min-height:44px}
  .section-caption{float:none;display:block;padding-top:5px}
}
@media(min-width:600px){
  header,main,.app-copyright,nav[aria-label="主导航"]{width:calc(100% - 40px);max-width:760px}
  .hero{padding:34px 32px}
  .hero h1{font-size:38px}
  .grid .card{min-height:146px;padding:24px}
  .grid .card strong{font-size:21px}
  .grid .card .muted{font-size:15px}
  .app-copyright{padding-bottom:110px}
}
@media(min-width:1024px){
  header,main,.app-copyright,nav[aria-label="主导航"]{max-width:1120px;width:calc(100% - 64px)}
  header{padding:24px 36px}
  header>span{display:none}
  main{padding:28px 36px 32px}
  .hero{margin:-28px -36px 0;padding:44px 48px;border-radius:0 0 28px 28px}
  .hero h1{font-size:46px;line-height:1.4}
  .hero p{font-size:18px}
  .hero .muted{font-size:14px}
  .hero .search{max-width:620px;margin-top:28px}
  .hero .search input,.hero .search button{font-size:18px}
  body[data-page=home] main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  body[data-page=home] main>*{grid-column:1/-1}
  body[data-page=home] main>h2{margin:14px 0 0;font-size:25px}
  body[data-page=home] main>.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .home-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .home-tips>h2{grid-column:1/-1;margin:14px 0 0;font-size:25px}
  .home-tips>.tip-card{margin:0;padding:24px;align-self:stretch}
  .tip-card strong{font-size:20px}.tip-card p{font-size:16px}
  .section-caption{font-size:14px}
  body[data-page=find] .list,body[data-page=mine] main>.list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .list>.empty,.list>.recent-more{grid-column:1/-1}
  body[data-page=detail] article.card{max-width:820px;margin:18px auto;padding:28px}
  body[data-page=detail] .local-preview svg{height:360px!important;max-height:50vh!important}
  body[data-page=detail] article>p{font-size:17px;line-height:1.85}
  body[data-page=detail] article h2{font-size:22px;margin-top:20px}
  body[data-page=ask] main>*:not(.hero),body[data-page=tip] main>article{max-width:820px;margin-left:auto;margin-right:auto}
  .wellness-clock{max-width:520px;margin-left:auto;margin-right:auto}
  nav[aria-label="主导航"]{position:absolute;top:43px;bottom:auto;left:calc(50% + 100px);width:740px;max-width:calc(100% - 340px);padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none;box-shadow:none}
  nav[aria-label="主导航"] button{flex-direction:row;gap:10px;font-size:16px;min-height:48px}
  .app-copyright{font-size:14px;padding-bottom:40px}
}

/* Compact home, shared by web and the native offline containers. */
header{gap:12px;padding-top:12px;padding-bottom:12px}.app-brand{flex-shrink:0}.app-brand img{width:34px;height:40px}.header-search{display:flex;gap:5px;flex:1;min-width:0;max-width:420px;margin:0}.header-search[hidden]{display:none}.header-search input{min-width:0;width:100%;border:1px solid #dde4d7;background:#fffefb;border-radius:11px;padding:9px;font-size:14px}.header-search button{font-size:14px;min-height:40px;padding:8px 10px;flex-shrink:0}.home-hero{height:84px;min-height:84px;padding:14px 20px;margin-bottom:16px;display:flex;flex-direction:column;justify-content:center;border-radius:0 0 19px 19px}.home-hero h1{font-size:21px;line-height:1.4;letter-spacing:1px;margin:0}.home-hero p{font-size:14px;margin:4px 0 0;line-height:1.4}.home-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.model-entry{overflow:hidden;display:flex;align-items:center;border:1px solid #dfe5d8;border-radius:16px;background:#f0f3e9;min-width:0;padding:10px 8px;gap:4px}.model-entry>img{width:42%;height:132px;object-fit:contain;object-position:center}.model-entry>div{flex:1;min-width:0}.model-entry h2{font-size:17px;margin:0 0 8px;white-space:nowrap}.model-actions{display:flex;flex-direction:column;gap:6px}.model-actions button{padding:7px 5px;min-height:36px;font-size:14px;white-space:nowrap;background:#fffefb}.model-actions button:last-child{background:#285e4b;color:white;border-color:#285e4b}
@media(max-width:370px){.app-brand{gap:5px!important}.app-brand>span{font-size:20px}.app-brand img{width:28px}.header-search input{font-size:13px;padding:8px 5px}.header-search button{padding:7px}.home-hero h1{font-size:19px}.model-entry{padding:8px 5px}.model-entry h2{font-size:15px}.model-actions button{font-size:13px}}
@media(min-width:600px){.home-hero{height:88px;padding:15px 28px}.home-hero h1{font-size:26px}.home-hero p{font-size:15px}.model-entry{padding:14px 24px;gap:15px}.model-entry>img{height:160px;width:38%}.model-entry h2{font-size:22px}.model-actions{flex-direction:row;flex-wrap:wrap}.model-actions button{font-size:16px;padding:10px 14px}}
@media(min-width:1024px){header{padding:20px 36px 80px}.header-search{max-width:560px}.header-search input{font-size:17px}nav[aria-label="主导航"]{top:102px;left:50%;width:calc(100% - 136px);max-width:1048px}.home-hero{height:88px;min-height:88px;padding:15px 36px}.home-hero h1{font-size:28px;margin:0;line-height:1.4}.home-hero p{font-size:16px;margin:4px 0 0}.home-models{gap:18px}.model-entry>img{height:164px}.model-entry>div{max-width:260px}}
/* Mode-based entry cards and a single integrated search field. */
.header-search{align-items:center;gap:5px;padding:4px;background:#eef2e9;border:1px solid #e0e6d8;border-radius:14px}.header-search>svg{width:16px;height:16px;flex:0 0 16px;color:#7d917d;margin-left:5px}.header-search input{border:0;background:transparent;padding:6px 0;font-size:14px;outline-offset:2px}.header-search button{border:0;border-radius:10px;background:#dfe8d7;color:#335e48;padding:6px 9px;min-height:32px}.home-models>.model-entry{width:100%;margin:0;text-align:left;justify-self:stretch;align-self:stretch}.model-entry>span{display:block;flex:1;min-width:0}.model-entry strong{display:block;font-size:19px;white-space:nowrap}.model-entry small{display:block;font-size:12px;line-height:1.5;color:#7c8975;margin-top:7px}.model-entry em{display:block;font-style:normal;font-size:13px;margin-top:12px;color:#37664f}.model-entry[data-open-atlas="3d"]{background:#e8eee2}.model-entry>img{width:40%;height:124px}.grid>.card{width:100%;margin:0;min-width:0;justify-self:stretch;align-self:stretch}body[data-page=home] main>.grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}.grid>.card[hidden]{display:none!important}
@media(max-width:370px){header{gap:8px;padding-left:12px;padding-right:12px}.app-brand img{width:25px;height:34px}.app-brand>span{font-size:20px;letter-spacing:1px}.app-brand small{font-size:10px;letter-spacing:2px}.header-search{gap:3px;padding:3px}.header-search>svg{width:13px;height:13px;flex-basis:13px;margin-left:3px}.header-search input{font-size:12px;padding:5px 0}.header-search button{font-size:13px;padding:5px 7px;min-height:30px}.model-entry strong{font-size:17px}.model-entry small{font-size:11px}.model-entry>img{height:115px}}
@media(min-width:600px){.header-search input{font-size:16px}.model-entry strong{font-size:24px}.model-entry small{font-size:15px}.model-entry em{font-size:15px}.model-entry>img{height:160px;width:35%}.model-entry{gap:16px}}
.home-local{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 4px}.home-local button{margin:0;padding:7px;min-width:0;width:100%;background:#fffefa;display:flex;align-items:center;justify-content:center;gap:5px;border-color:#e2e7da}.home-local img{width:36px;height:44px;object-fit:contain}.home-local span{font-size:14px;white-space:nowrap}.grid [data-page=tips]:before{content:'✿'}.grid [data-page=tips]{background:#f4f0e5}body[data-page=home] main>.grid>.card:last-child:nth-child(odd){grid-column:1/-1;min-height:94px}body[data-page=home] main>.grid>.card[data-page=mine]{min-height:94px}
@media(min-width:600px){.home-local img{width:48px;height:52px}.home-local span{font-size:17px}}
/* Point knowledge: readable sections without blank-field placeholders. */
.knowledge-section{margin:22px 0 0;padding-top:18px;border-top:1px solid #e3e7dc;text-align:left;min-width:0}.knowledge-section h2{font-size:20px;margin:0 0 12px;line-height:1.4}.knowledge-section p,.knowledge-section li{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.knowledge-facts{margin:0}.knowledge-facts>div{display:grid;grid-template-columns:minmax(90px,30%) minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #edf0e7}.knowledge-facts dt{color:#7c897b;font-size:15px}.knowledge-facts dd{margin:0;font-size:16px;line-height:1.7;overflow-wrap:anywhere}.knowledge-section .knowledge-context{font-size:14px;color:#7b8679;margin:0 0 10px}.knowledge-refs{display:flex;flex-wrap:wrap;gap:5px}.knowledge-ref{font-size:12px;line-height:1.5;color:#81907e}.knowledge-refs:empty{display:none}.knowledge-more{margin-top:12px;border-radius:10px;background:#f0f3ea;padding:12px}.knowledge-more summary{font-size:15px;cursor:pointer}.knowledge-sources{padding-left:18px;margin:0}.knowledge-sources li{font-size:14px;margin:7px 0}.knowledge-sources small{display:block;color:#7b8679}.knowledge-pending{font-size:14px!important;color:#81907e;line-height:1.7;margin:20px 0}.knowledge-section ul{padding-left:19px}
.knowledge-link{color:#245847;text-decoration:underline;text-decoration-color:#91aa98;text-underline-offset:3px;overflow-wrap:anywhere}.knowledge-link:hover{color:#183d30;text-decoration-thickness:2px}.meridian-intro,.meridian-points,.meridian-relations{min-width:0;overflow-wrap:anywhere}.knowledge-facts a{display:inline;padding:2px 0}.actions{flex-wrap:wrap}.actions>button{min-height:44px;white-space:normal}.header-search input{width:0;flex:1}.header-search button{min-height:42px}
/* Homepage identity, search and banner stay together while content scrolls. */
body[data-page=home]{padding-top:0}
#home-fixed-region{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:920px;z-index:30;background:var(--paper);padding-top:env(safe-area-inset-top,0px);box-shadow:0 4px 10px #23483e0a}
#home-fixed-region>header{width:100%;max-width:none;margin:0;border-radius:0;background:var(--paper)}
#home-fixed-region>.home-hero{width:100%;margin:0;flex-shrink:0}
body[data-page=home] main{padding-top:calc(var(--home-fixed-height,170px) + 16px)}
@media(min-width:600px){#home-fixed-region{width:calc(100% - 40px);max-width:760px}}
@media(min-width:1024px){#home-fixed-region{width:calc(100% - 64px);max-width:1120px}body[data-page=home] nav[aria-label="主导航"]{position:fixed;top:calc(102px + env(safe-area-inset-top,0px));z-index:31}}

/* The app supplies boundary resistance without browser pull-to-refresh. */
html{overscroll-behavior-y:none}

.dong-entry{display:flex;align-items:center;gap:18px;width:100%;text-align:left;background:#f1eee3;border:1px solid #d8d6c5;border-radius:20px;padding:18px;margin:16px 0 24px}.dong-entry>span:nth-child(2){flex:1}.dong-entry strong{display:block;font-size:24px}.dong-entry small{display:block;font-size:17px;line-height:1.5;margin-top:4px;color:#697365}.dong-mark{display:inline-grid;place-items:center;width:60px;height:60px;flex-shrink:0;border:2px solid #b59859;border-radius:18px;color:#765d2d;background:#fffaf0;font-family:serif;font-size:40px}.dong-heading{display:flex;gap:18px;align-items:center;margin-top:24px}.dong-heading h1{margin:0}.dong-heading p{margin:4px 0}.dong-regions [aria-pressed=true]{background:#245847;color:#fff}.dong-record{scroll-margin-top:110px}.dong-record summary{cursor:pointer;padding:8px 0;font-size:24px}.dong-record summary span{display:block;font-size:17px;color:#697365;margin-top:6px}.dong-record h2{font-size:22px}.dong-record p{line-height:1.85}.dong-record a{overflow-wrap:anywhere}#dong-search input{min-width:0;flex:1;font-size:20px;padding:12px;width:100%;box-sizing:border-box}#dong-search{display:flex}#dong-search button{flex-shrink:0}

/* Keep primary composition visible before history; keyboard remains in normal page flow. */
.compose-focus{min-height:clamp(200px,calc(84svh - 220px),560px);display:flex;align-items:center;margin:0 0 20px}
.compose-focus .composer{width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;box-sizing:border-box}
.compose-focus .composer>label{grid-column:1/-1;margin:0}.compose-focus .composer textarea{width:100%;min-height:106px;height:106px;resize:vertical;box-sizing:border-box}
.compose-focus .composer>.primary{margin:0;min-width:64px;max-width:100px;align-self:center}.compose-focus .composer>.error{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
@media(max-height:550px){.compose-focus{min-height:140px}.compose-focus .composer textarea{min-height:76px;height:76px}}

/* Two posters share the original fixed height. */
.home-carousel{position:relative;overflow:hidden;touch-action:pan-y;padding:0!important}.home-carousel .home-slide{position:absolute;inset:0;padding:14px 20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;transition:opacity .45s ease}.home-carousel .home-slide:nth-child(2){opacity:0}@media(min-width:600px){.home-carousel .home-slide{padding:15px 28px}}@media(min-width:1024px){.home-carousel .home-slide{padding:15px 36px}}@media(prefers-reduced-motion:reduce){.home-carousel .home-slide{transition:none}}
/* Solid at top; translucent over scrolling content. */
.hero.home-carousel{background:linear-gradient(125deg,#1f493c,#32604a);color:#fff}.hero.home-carousel h1{color:#fff}.hero.home-carousel p{color:#fff}

#home-fixed-region{background:transparent}.hero.home-carousel.is-scrolled{background:linear-gradient(125deg,rgba(31,73,60,.70),rgba(50,96,74,.70))}

/* Community: categories, compact publishing card, then readable feed. */
#community-root{max-width:820px;margin:0 auto}
#community-root .community-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 18px;padding:5px;background:#edf1e7;border-radius:16px}
#community-root .community-topics button{margin:0;padding:10px 3px;min-width:0;border:0;background:transparent;font-size:16px;white-space:nowrap}
#community-root .community-topics button[aria-pressed=true]{background:#245847;color:#fff;box-shadow:0 2px 6px #24584720}
#community-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0 0 20px;padding:18px;box-sizing:border-box}
#community-compose label{grid-column:1/-1;font-size:21px;font-weight:600;margin:0}
#community-compose textarea{grid-column:1/-1;width:100%;box-sizing:border-box;min-height:132px;resize:vertical;margin:0;padding:12px;border:1px solid #dfe6d8;border-radius:12px;background:#fff;font-size:18px;line-height:1.65}
#community-compose .community-compose-hint{font-size:14px;line-height:1.5;color:#73806e;margin:0;align-self:center}
#community-compose .primary{min-width:76px;min-height:46px;margin:0;padding:10px 18px;font-size:18px;align-self:center}
#community-compose .error{grid-column:1/-1;margin:0}#community-compose .error:empty{display:none}
#community-root .community-feed-title{font-size:22px;margin:24px 0 14px}
#community-items{display:grid;gap:14px}#community-items .community-post{margin:0;padding:18px;overflow-wrap:anywhere}#community-items .community-post b{font-size:18px}#community-items .community-post p{font-size:18px;line-height:1.8;margin:12px 0 16px}#community-items .community-post button{display:block;margin-left:auto;color:#245847}
.community-empty{padding:28px 18px;text-align:center;border:1px dashed #d9e1d2;border-radius:18px;background:#f2f4ed;color:#697b66}.community-empty strong{font-size:19px}.community-empty p{margin:8px 0 0;font-size:16px}
#community-root>.notice{font-size:14px;line-height:1.65;margin:12px 0}#community-live:empty,#community-root>.actions:empty{display:none}
/* Full-width multiline input, action below on the right. */
body[data-page=ask] .compose-focus{min-height:clamp(240px,calc(55svh - 140px),360px);margin-bottom:18px}
body[data-page=ask] .compose-focus .composer{grid-template-columns:minmax(0,1fr);padding:18px;gap:12px}
body[data-page=ask] .compose-focus .composer textarea{grid-column:1/-1;min-height:150px;height:150px;font-size:18px;line-height:1.7;overflow-y:auto;padding:12px}
body[data-page=ask] .compose-focus .composer>.primary{grid-column:1;justify-self:end;min-width:80px;max-width:none;font-size:18px;padding:10px 18px}
body[data-page=ask] .compose-focus .composer>.error:empty{display:none}
@media(max-height:550px){body[data-page=ask] .compose-focus{min-height:0}body[data-page=ask] .compose-focus .composer textarea{min-height:100px;height:100px}}
/* Keep the shared header available on every non-home route. */
body:not([data-page=home])>header{position:sticky;top:0;z-index:30;background:var(--paper);box-shadow:0 3px 9px #23483e0a}
@media(min-width:1024px){body:not([data-page=home]) nav[aria-label="主导航"]{position:fixed}}

.home-3d-wide.model-entry{width:100%;min-height:104px;margin:12px 0;display:flex;align-items:center;justify-content:flex-start;padding:12px 22px;gap:20px}.home-3d-wide.model-entry img{width:62px;height:90px;object-fit:contain}.find-entry-icon{font-size:62px;line-height:1;color:#47765d;width:64px;flex-shrink:0;text-align:center}

/* Seasonal reminder stays outside the rotating introduction. */
.hero.home-carousel:has([data-seasonal-reminder]){height:auto!important;min-height:0;padding-top:84px!important;overflow:visible}.home-carousel:has([data-seasonal-reminder]) .home-slide{height:84px;bottom:auto}.home-carousel [data-seasonal-reminder]{position:relative;padding:0 12px 12px}.home-carousel [data-seasonal-reminder] .xiwen-seasonal-reminder{padding:10px 12px}.home-carousel .xiwen-seasonal-sources[open]{max-height:140px;overflow:auto}

.hero.home-carousel:has([data-seasonal-reminder]){padding-top:58px!important}.home-carousel:has([data-seasonal-reminder]) .home-slide{height:58px;padding:12px 20px!important}.home-carousel:has([data-seasonal-reminder]) .home-slide p{display:none}.home-carousel [data-seasonal-reminder]{padding:0 20px 6px}.hero.home-carousel.is-scrolled{background:linear-gradient(125deg,#1f493c,#32604a)}

.hero.home-carousel:has([data-seasonal-reminder]){padding-bottom:8px!important}

/* Quiet botanical palette for home destinations. */
body[data-page=home] #content>.grid>.card:nth-child(4n+1),body[data-page=home] .content-learning .card:nth-child(4n+1){background:#e4eee2;border-color:#c8d9c4}
body[data-page=home] #content>.grid>.card:nth-child(4n+2),body[data-page=home] .content-learning .card:nth-child(4n+2){background:#f1e8d3;border-color:#dfcda5}
body[data-page=home] #content>.grid>.card:nth-child(4n+3),body[data-page=home] .content-learning .card:nth-child(4n+3){background:#e4ebef;border-color:#c7d5dc}
body[data-page=home] #content>.grid>.card:nth-child(4n),body[data-page=home] .content-learning .card:nth-child(4n){background:#f2e2d8;border-color:#dfc5b5}
body[data-page=home] .home-local button:nth-child(1){background:#e4eee2}body[data-page=home] .home-local button:nth-child(2){background:#f1e8d3}body[data-page=home] .home-local button:nth-child(3){background:#f2e2d8}

.hero.home-carousel.seasonal-collapsed:has([data-seasonal-reminder]){padding-top:10px!important}.home-carousel.seasonal-collapsed .home-slide{visibility:hidden;pointer-events:none}

/* Scroll translucency without fading text or controls. */
body[data-page=home] .hero.home-carousel.is-scrolled{background:linear-gradient(125deg,rgba(31,73,60,.70),rgba(50,96,74,.70))!important}
