:root{
  --green:#00563f;--green2:#0c6d58;--orange:#ff741c;--ink:#17211e;--muted:#6f7b76;
  --line:#e7ece9;--bg:#f6f8f7;--panel:#fff;--shadow:0 10px 35px rgba(22,57,46,.08)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans SC","Inter",sans-serif;color:var(--ink);background:#f7f9f8}
a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.navbar{height:78px;display:flex;align-items:center;gap:36px}
.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand-icon{width:41px;height:41px;object-fit:contain}
.brand-name{font-size:22px;font-weight:800;letter-spacing:-1px}.brand-name b{color:var(--green)}.brand-name strong{color:var(--orange)}
.nav-links{display:flex;gap:27px;align-items:center;flex:1}.nav-links a{font-size:14px;font-weight:600;color:#333f3a;position:relative}
.nav-links a:hover,.nav-links a.active{color:var(--green)}.nav-links a.active:after{content:"";position:absolute;left:0;right:0;bottom:-28px;height:2px;background:var(--green)}
.nav-actions{display:flex;align-items:center;gap:10px}.icon-btn,.menu-btn{border:0;background:none}
.icon-btn{width:34px;height:34px;display:grid;place-items:center}.icon-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.btn{height:40px;border-radius:9px;padding:0 18px;font-weight:700}.btn-outline{background:#fff;border:1px solid #aab5b0}
.btn-register{border:1px solid var(--green);background:var(--green);color:#fff}.menu-btn{display:none;font-size:24px}.mobile-menu{display:none}

.hero{position:relative;min-height:510px;overflow:hidden;background:linear-gradient(135deg,#eef6fd 0%,#dff0fb 44%,#fee9cd 100%)}
.hero-bg{position:absolute;inset:0;overflow:hidden}.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(249,242,226,.96) 0%,rgba(249,244,231,.84) 34%,rgba(255,255,255,.15) 70%,rgba(255,255,255,.02) 100%)}
.sun{position:absolute;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,203,116,.72),rgba(255,207,125,.12) 55%,transparent 70%);left:10%;bottom:-60px}
.city{position:absolute;left:0;right:0;bottom:0}.city-back{height:160px;background:repeating-linear-gradient(90deg,#758c8d 0 20px,#8ba0a1 20px 38px,#647d7d 38px 60px,#90a4a1 60px 82px);clip-path:polygon(0 65%,3% 53%,5% 60%,8% 38%,10% 70%,13% 47%,16% 59%,19% 35%,22% 67%,25% 48%,28% 55%,31% 27%,34% 67%,37% 45%,40% 63%,43% 38%,46% 58%,49% 44%,52% 71%,55% 30%,58% 62%,61% 41%,64% 69%,67% 46%,70% 60%,74% 26%,77% 64%,80% 44%,84% 67%,87% 41%,90% 55%,93% 34%,96% 59%,100% 45%,100% 100%,0 100%);opacity:.46}
.city-front{height:100px;background:repeating-linear-gradient(90deg,#3c5955 0 16px,#5b6f68 16px 36px,#2e4945 36px 58px,#6a7a71 58px 79px);clip-path:polygon(0 50%,4% 48%,7% 30%,12% 54%,16% 39%,22% 48%,28% 21%,33% 54%,39% 38%,46% 50%,52% 22%,58% 49%,64% 31%,71% 55%,77% 37%,84% 51%,90% 30%,96% 45%,100% 40%,100% 100%,0 100%);opacity:.42}
.tower{position:absolute;bottom:92px;z-index:1}.kl-tower{width:10px;height:190px;background:#879491;left:42%;border-radius:4px}
.kl-tower:before{content:"";position:absolute;left:-18px;top:34px;width:46px;height:20px;border-radius:50%;background:#879491}.kl-tower:after{content:"";position:absolute;left:4px;top:-65px;width:2px;height:65px;background:#7c8986}
.twin{width:58px;height:270px;background:linear-gradient(90deg,#9ba8a5,#d3d9d7,#879794);border-radius:12px 12px 0 0;right:28%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.twin:before{content:"";position:absolute;left:27px;top:-90px;width:4px;height:90px;background:#838f8c}.twin:after{content:"";position:absolute;inset:15px 8px;background:repeating-linear-gradient(180deg,rgba(255,255,255,.75) 0 2px,rgba(81,105,100,.2) 2px 9px)}
.twin-a{right:29%}.twin-b{right:21.5%}
.hero-inner{position:relative;z-index:3;min-height:510px;display:grid;grid-template-columns:1.15fr .6fr;gap:44px;align-items:center}.hero-copy{padding:40px 0}
.hero h1{font-size:56px;line-height:1.18;letter-spacing:-3px;color:var(--green);margin:0 0 20px}.hero-copy p{font-size:17px;line-height:1.75;color:#45534d;margin:0}
.main-search{margin-top:34px;background:#fff;border-radius:14px;padding:8px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;box-shadow:0 18px 45px rgba(30,70,56,.12);max-width:660px}
.search-svg{width:40px;height:50px;display:grid;place-items:center}.search-svg svg{width:23px;height:23px;fill:none;stroke:#58655f;stroke-width:1.8;stroke-linecap:round}
.main-search input{height:50px;border:0;outline:0;padding:0 10px;font-size:14px}.main-search button{height:50px;border:0;background:var(--green);color:#fff;border-radius:10px;padding:0 28px;font-weight:800}
.news-card{background:rgba(255,255,255,.95);border:1px solid rgba(255,255,255,.7);border-radius:18px;padding:20px;box-shadow:0 16px 40px rgba(28,64,54,.13)}
.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.card-heading h3{font-size:17px;margin:0}.card-heading p{margin:3px 0 0;font-size:12px;color:#8a9691}.card-heading a{font-size:12px;color:var(--green);font-weight:700}
.news-list{display:grid;gap:13px}.news-list article{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center}.thumb{height:54px;border-radius:8px;display:grid;place-items:center;font-size:23px}.thumb-policy{background:#dfeff6}.thumb-life{background:#e7f1e7}.thumb-transit{background:#e8eafa}.thumb-event{background:#f9ead4}
.news-list article>div:last-child{display:flex;flex-direction:column;min-width:0}.news-list b{font-size:12px;line-height:1.4;margin:3px 0 1px}.news-list small{font-size:12px;color:#8b9691}
.tag,.mini-tag{font-size:12px;font-weight:700;width:max-content;padding:2px 4px;border-radius:4px}.tag-blue{background:#e5effb;color:#456995}.tag-green{background:#e5f2e8;color:#458153}.tag-purple{background:#eceafa;color:#665c9a}.tag-orange{background:#fff0dc;color:#b16b13}

.stage-section{margin-top:-1px}.white-panel{background:#fff;border:1px solid #e4e9e6;border-radius:22px 22px 0 0;padding:28px 40px 24px;box-shadow:0 -6px 25px rgba(44,68,59,.04)}
.stage-title{display:flex;justify-content:center;align-items:center;gap:14px;margin-bottom:24px}.stage-title span{color:var(--green)}.stage-title h2{font-size:23px;margin:0}
.stage-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.stage-card{border:0;border-radius:18px;min-height:210px;padding:20px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:.2s}
.stage-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.stage-card .stage-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:14px}
.stage-icon svg{width:34px;height:34px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.icon-green{color:#0b7562}.icon-orange{color:#ff781c}.icon-blue{color:#2d63a4}.icon-teal{color:#167b75}.icon-gold{color:#d7980b}
.stage-card b{font-size:15px}.stage-card p{font-size:12px;line-height:1.7;color:#62706a}.stage-card em{font-style:normal;background:#fff;border:1px solid currentColor;border-radius:7px;padding:7px 14px;font-size:12px;font-weight:700;margin-top:auto}
.stage-card.mint{background:#edf8f4;color:#0b7562}.stage-card.peach{background:#fff4e9;color:#ff781c}.stage-card.blue{background:#eef4fd;color:#2d63a4}.stage-card.aqua{background:#edf8f6;color:#167b75}.stage-card.sand{background:#fff8e9;color:#d7980b}
.stage-detail{margin-top:16px;border:1px dashed #dce5e1;border-radius:12px;padding:13px 16px;display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:15px}.stage-detail small{font-size:12px;color:#86928d}.stage-detail h3{font-size:14px;margin:2px 0 0}.stage-detail p{margin:0;font-size:12px;color:#69766f}.mini-link{border:0;background:none;color:var(--green);font-size:12px;font-weight:700}

.cities-section{padding:24px 0 0}.cities-card{padding:22px}
.city-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.city-tab{border:1px solid var(--line);background:#fbfcfb;border-radius:13px;padding:14px;text-align:left;transition:.2s;display:flex;flex-direction:column}
.city-tab:hover,.city-tab.active{border-color:#b8d4ca;background:#eef7f3;transform:translateY(-2px)}.city-tab span{font-family:"Inter";font-size:12px;color:#8a9691}.city-tab b{font-size:13px;margin-top:7px}.city-tab small{font-size:12px;color:#8d9893;margin-top:2px}
.city-detail{margin-top:14px;border-radius:14px;background:linear-gradient(135deg,#0a664f,#0b4e3e);color:#fff;padding:24px;display:grid;grid-template-columns:1.3fr .7fr;gap:24px;align-items:center}
.city-label{font-family:"Inter";font-size:12px;letter-spacing:1.6px;color:#a5d2c3}.city-detail h3{font-size:28px;margin:5px 0}.city-detail p{font-size:12px;line-height:1.75;color:#c7ded6;margin:0;max-width:650px}
.city-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.city-facts div{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:12px;text-align:center}
.city-facts small{display:block;font-size:12px;color:#b4d3c9}.city-facts b{display:block;font-size:12px;margin-top:4px}

.content-section{padding:26px 0}.content-grid{display:grid;grid-template-columns:1.55fr .85fr;gap:22px}.content-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 5px 18px rgba(41,64,55,.03)}
.guide-grid{display:grid;grid-template-columns:1fr 1fr}.guide-grid article{display:grid;grid-template-columns:82px 1fr;gap:12px;padding:14px 10px;border-bottom:1px solid #edf0ee}.guide-grid article:nth-last-child(-n+2){border-bottom:0}
.guide-thumb{height:82px;border-radius:8px;display:grid;place-items:center;font-size:30px}.passport{background:#f5e9cc}.bank{background:#e8edf1}.condo{background:#e1eee8}.car{background:#e8eff2}.app{background:#e8f1f8}.tax{background:#eef0e7}
.guide-grid article>div:last-child{display:flex;flex-direction:column;align-items:flex-start}.mini-tag{background:#eef6f2;color:#44816f}.guide-grid b{font-size:12px;margin-top:5px}.guide-grid p{font-size:12px;color:#7b8782;line-height:1.55;margin:5px 0}.guide-grid small{font-size:12px;color:#9aa49f}
.topic-list{display:grid}.topic-list button{border:0;border-bottom:1px solid #edf0ee;background:#fff;padding:11px 0;display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:12px}.topic-list button:last-child{border-bottom:0}.topic-list em{font-style:normal;background:#edf7f3;color:#377a67;padding:3px 7px;border-radius:6px;font-size:12px}

.tools-section{padding:0 0 24px}.tool-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.tool{border:0;border-radius:14px;padding:14px 10px;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tool .tool-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;margin-bottom:9px}.tool .tool-icon svg{width:24px;height:24px;display:block;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tool b{font-size:12px;text-align:center}.tool.orange{background:#fff5e9}.tool.orange .tool-icon{background:#f7941d}.tool.green{background:#edf8f3}.tool.green .tool-icon{background:#3c9774}.tool.mint-tool{background:#eff8f2}.tool.mint-tool .tool-icon{background:#4a9a76}.tool.emerald{background:#edf8f6}.tool.emerald .tool-icon{background:#4a9b8d}.tool.pink{background:#fff0ef}.tool.pink .tool-icon{background:#e76864}
.tool-result{display:none;margin-top:16px;padding:14px;border-radius:10px;background:#f7faf8;font-size:12px;color:#5e6a65}

.services-section{padding:0 0 24px}.services-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.services-grid div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;text-align:center}.services-grid span{display:block;font-size:24px}.services-grid b{font-size:12px}
.join-section{padding:0 0 28px}.join-box{background:#eaf6f2;border-radius:14px;padding:20px 26px;display:flex;justify-content:space-between;align-items:center}.join-box h3{margin:0 0 4px;color:var(--green);font-size:17px}.join-box p{margin:0;color:#67766f;font-size:12px}.join-box button{border:0;border-radius:8px;background:var(--green);color:#fff;font-weight:700;padding:11px 18px}

footer{background:#13211d;color:#b3c0ba;padding:28px 0 18px}.footer-content{display:flex;justify-content:space-between;align-items:center}.footer-content b{font-size:16px;color:#fff}.footer-content p{font-size:12px;margin:4px 0 0}.footer-links{display:flex;gap:18px}.footer-links a{font-size:12px}.copyright{margin-top:18px;padding-top:14px;border-top:1px solid #293833;font-size:12px}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);opacity:0;background:#12231e;color:#fff;border-radius:9px;padding:11px 16px;font-size:12px;transition:.2s;z-index:80}.toast.show{transform:translate(-50%,0);opacity:1}

@media(max-width:980px){
  .nav-links{display:none}.menu-btn{display:block}.mobile-menu.show{display:grid;padding:12px 20px 18px;gap:10px;border-top:1px solid var(--line)}
  .hero-inner{grid-template-columns:1fr}.news-card{display:none}.hero h1{font-size:50px}.stage-grid{grid-template-columns:repeat(3,1fr)}.content-grid{grid-template-columns:1fr}
  .city-tabs{grid-template-columns:repeat(3,1fr)}.city-detail{grid-template-columns:1fr}.tool-grid{grid-template-columns:repeat(3,1fr)}.services-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:650px){
  .container{width:min(100% - 24px,1180px)}.navbar{height:68px}.brand-name{font-size:18px}.brand-icon{width:34px;height:34px}.icon-btn{display:none}
  .hero{min-height:500px}.hero-inner{min-height:500px}.hero h1{font-size:42px}.main-search{grid-template-columns:auto 1fr}.main-search button{grid-column:1/-1;margin-top:6px}
  .white-panel{padding:22px 14px}.stage-grid{grid-template-columns:1fr 1fr}.stage-detail{grid-template-columns:1fr}.city-tabs{grid-template-columns:1fr 1fr}.city-facts{grid-template-columns:1fr}
  .guide-grid{grid-template-columns:1fr}.guide-grid article:nth-last-child(-n+2){border-bottom:1px solid #edf0ee}.guide-grid article:last-child{border-bottom:0}
  .tool-grid{grid-template-columns:1fr 1fr}.services-grid{grid-template-columns:1fr 1fr}.join-box,.footer-content{flex-direction:column;align-items:flex-start;gap:16px}
}


.city-page-hero{background:linear-gradient(135deg,#eef7f3 0%,#fff7ea 100%);padding:56px 0 40px;border-bottom:1px solid #e5ebe8}
.city-page-hero .breadcrumb{font-size:12px;color:#718079;margin-bottom:15px}
.city-page-hero .breadcrumb a{color:#075f49;font-weight:700}
.city-page-hero h1{margin:0;color:#075f49;font-size:42px;letter-spacing:-1.8px}
.city-page-hero p{max-width:760px;margin:10px 0 0;color:#67756e;font-size:14px;line-height:1.8}
.city-index{padding:30px 0 54px}
.city-index-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.city-entry{min-height:220px;border-radius:18px;padding:20px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;transition:.2s}
.city-entry:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(18,64,50,.16)}
.city-entry:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 18%,rgba(255,255,255,.2),transparent 34%)}
.city-entry>*{position:relative;z-index:1}
.city-entry small{font:700 9px Inter;letter-spacing:1.5px;color:#dcebe6}
.city-entry h2{font-size:25px;margin:5px 0 0}.city-entry p{font-size:12px;line-height:1.6;color:#d4e4df}
.city-entry b{font-size:12px}
.city-entry.kl{background:linear-gradient(145deg,#156c5e,#0b463c)}
.city-entry.selangor{background:linear-gradient(145deg,#52756e,#334d48)}
.city-entry.johor{background:linear-gradient(145deg,#406b78,#274650)}
.city-entry.penang{background:linear-gradient(145deg,#725d74,#493b4c)}
.city-entry.melaka{background:linear-gradient(145deg,#916a55,#5d4437)}
.city-layout{display:grid;grid-template-columns:230px 1fr;gap:26px;padding:30px 0 56px}
.city-sidebar{position:sticky;top:100px;align-self:start;background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:14px}
.city-sidebar b{display:block;font-size:12px;padding:8px}
.city-sidebar a{display:block;padding:9px 10px;border-radius:8px;font-size:12px;color:#69766f}
.city-sidebar a:hover,.city-sidebar a.current{background:#edf7f3;color:#075f49;font-weight:700}
.city-main{display:grid;gap:18px}
.city-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:24px}
.city-box h2{font-size:20px;margin:0 0 16px}
.city-box h3{font-size:14px;margin:0 0 6px}
.city-box p{font-size:12px;color:#65736c;line-height:1.8}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.metric{background:#f7faf8;border-radius:11px;padding:14px}
.metric small{display:block;font-size:12px;color:#839089}
.metric b{display:block;font-size:16px;margin-top:5px;color:#075f49}
.neighborhood-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.neighborhood{border:1px solid #e7ece9;border-radius:11px;padding:14px}
.neighborhood small{font-size:12px;color:#0b765c}.neighborhood b{display:block;font-size:12px;margin:4px 0}.neighborhood p{font-size:12px;margin:0}
.procon{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.procon>div{border-radius:11px;padding:16px}
.procon .pros{background:#edf8f3}.procon .cons{background:#fff5eb}
.procon h3{margin-bottom:9px}.procon ul{margin:0;padding-left:18px}.procon li{font-size:12px;line-height:1.8;color:#5e6b65}
.city-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.city-guide-card{border:1px solid #e7ece9;border-radius:10px;padding:14px}
.city-guide-card small{font-size:12px;color:#0b765c}.city-guide-card b{display:block;font-size:12px;margin:5px 0}.city-guide-card p{font-size:12px;margin:0}
.city-next{background:#0b5c48;color:#fff;border-radius:14px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between}
.city-next small{color:#bcd8cf}.city-next b{display:block;margin-top:4px}.city-next a{background:#fff;color:#075f49;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:800}
.city-detail-link{display:inline-flex;margin-top:13px;background:#fff;color:#075f49;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:800;width:max-content}
@media(max-width:900px){.city-index-grid{grid-template-columns:1fr 1fr}.city-layout{grid-template-columns:1fr}.city-sidebar{position:static}.metric-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.city-index-grid,.neighborhood-grid,.procon,.city-guide-grid,.metric-grid{grid-template-columns:1fr}.city-page-hero h1{font-size:32px}}


.info-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:54px 0 38px}.info-hero h1{font-size:40px;color:#075f49;margin:0 0 10px}.info-hero p{font-size:13px;color:#68766f}.crumb{font-size:12px;color:#819089;margin-bottom:14px}.crumb a{color:#075f49;font-weight:700}.info-wrap{padding:28px 0 55px}.category-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.category-bar button{border:1px solid #dfe7e3;background:#fff;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:700}.category-bar button.active{background:#075f49;color:#fff}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.article-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.article-cover{height:135px;display:grid;place-items:center;font-size:38px;background:linear-gradient(135deg,#e9f5f1,#fdf4e7)}.article-card-body{padding:16px}.article-cat{font-size:12px;color:#087158;font-weight:800}.article-card h2{font-size:14px;margin:6px 0}.article-card p{font-size:12px;color:#77847e;line-height:1.7}.article-meta{font-size:12px;color:#9aa49f}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;padding:30px 0 55px}.article-main,.article-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px}.article-main{padding:32px}.article-main h1{font-size:31px}.article-main .lead{font-size:14px;color:#66746d;line-height:1.8}.article-info{display:flex;gap:14px;font-size:12px;color:#8c9892;padding-bottom:20px;border-bottom:1px solid #edf1ef}.article-main h2{font-size:20px;margin:30px 0 10px}.article-main p{font-size:12px;line-height:1.9;color:#55645d}.article-note{background:#eef8f4;border-left:3px solid #087158;border-radius:8px;padding:14px;margin:18px 0;font-size:12px}.article-side{display:grid;gap:14px;align-self:start;position:sticky;top:100px}.article-side-box{padding:18px}.article-side-box h3{font-size:13px}.toc a,.related a{display:block;padding:8px 0;font-size:12px;color:#68766f;border-bottom:1px solid #f0f3f1}.related b{display:block;color:#17211e}.related small{font-size:12px}@media(max-width:900px){.info-grid{grid-template-columns:1fr 1fr}.article-layout{grid-template-columns:1fr}.article-side{position:static}}@media(max-width:600px){.info-grid{grid-template-columns:1fr}}


/* v9.1 navigation fixes */
@media(max-width:980px){
  .info-hero + .info-wrap{}
}
@media(max-width:650px){
  .info-hero .container{padding-top:4px}
}


/* v9.2 guide header logo fix */
.guide-hero ~ *{}
body .header .brand{
  display:flex;
  align-items:center;
  gap:10px;
}
body .header .brand .brand-icon{
  width:41px;
  height:41px;
  object-fit:contain;
  object-position:center;
  display:block;
  flex:0 0 41px;
}
body .header .brand .brand-name{
  display:inline-flex;
  align-items:baseline;
  gap:0;
  line-height:1;
}
@media(max-width:650px){
  body .header .brand .brand-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
}

.directory-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:54px 0 38px;border-bottom:1px solid #e5ebe8}.directory-hero h1{font-size:40px;color:#075f49;margin:0 0 10px}.directory-hero p{font-size:13px;color:#68766f;line-height:1.8;margin:0}.directory-wrap{padding:28px 0 56px}.directory-toolbar{display:grid;grid-template-columns:1fr 180px 180px;gap:10px;margin-bottom:18px}.directory-search,.directory-select{height:44px;border:1px solid #dfe7e3;border-radius:10px;background:#fff;padding:0 13px;font-size:12px;outline:0}.directory-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:24px}.directory-category{border:1px solid #e5ebe8;background:#fff;border-radius:14px;padding:16px;text-align:center;transition:.2s}.directory-category:hover,.directory-category.active{background:#edf8f4;border-color:#b9d8cc;transform:translateY(-2px)}.directory-category span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 9px;border-radius:50%;background:#f4f8f6;font-size:22px}.directory-category b{display:block;font-size:12px}.directory-category small{display:block;font-size:12px;color:#89958f;margin-top:3px}.business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.business-card{background:#fff;border:1px solid #e5ebe8;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;transition:.2s}.business-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(24,61,49,.08)}.business-cover{height:125px;display:grid;place-items:center;font-size:36px;background:linear-gradient(135deg,#edf7f3,#f9f3e8)}.business-body{padding:16px}.business-top{display:flex;justify-content:space-between;gap:8px}.business-tag{font-size:12px;color:#0b7159;background:#edf8f3;padding:3px 6px;border-radius:5px}.business-card h2{font-size:14px;margin:7px 0 5px}.business-card p{font-size:12px;color:#75817c;line-height:1.65;margin:0}.business-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:#8b9791}.business-action{display:flex;gap:8px;margin-top:13px}.business-action a{flex:1;text-align:center;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.business-action .detail{background:#075f49;color:#fff}.business-action .contact{border:1px solid #cbd9d3;color:#075f49}.directory-empty{display:none;background:#fff;border:1px dashed #ccd9d4;border-radius:12px;padding:28px;text-align:center;color:#7b8882;font-size:12px}.business-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:30px 0 56px}.business-main,.business-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px}.business-main{padding:28px}.business-header{display:flex;gap:18px;align-items:center;padding-bottom:20px;border-bottom:1px solid #edf1ef}.business-logo{width:72px;height:72px;border-radius:16px;background:#edf7f3;display:grid;place-items:center;font-size:34px}.business-header h1{font-size:26px;margin:4px 0}.business-header p{font-size:12px;color:#74817b;margin:0}.business-main h2{font-size:18px;margin:26px 0 10px}.business-main p{font-size:12px;line-height:1.85;color:#5f6d66}.info-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.info-item{background:#f7faf8;border-radius:10px;padding:13px}.info-item small{display:block;font-size:12px;color:#88958f}.info-item b{display:block;font-size:12px;margin-top:4px}.map-placeholder{height:220px;border-radius:12px;background:linear-gradient(135deg,#e5eee9,#d7e8e0);display:grid;place-items:center;color:#517068;font-size:12px}.business-side{display:grid;gap:14px;align-self:start;position:sticky;top:100px}.business-side-box{padding:18px}.business-side-box h3{font-size:13px;margin:0 0 10px}.side-link{display:block;padding:9px 0;border-bottom:1px solid #eef1ef;font-size:12px;color:#5f6d66}.side-link:last-child{border:0}@media(max-width:980px){.directory-category-grid{grid-template-columns:repeat(3,1fr)}.business-grid{grid-template-columns:1fr 1fr}.business-layout{grid-template-columns:1fr}.business-side{position:static}}@media(max-width:650px){.directory-toolbar{grid-template-columns:1fr}.directory-category-grid{grid-template-columns:1fr 1fr}.business-grid,.info-list{grid-template-columns:1fr}.directory-hero h1{font-size:32px}}


.tools-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:54px 0 38px;border-bottom:1px solid #e5ebe8}
.tools-hero h1{font-size:40px;color:#075f49;margin:0 0 10px}.tools-hero p{font-size:13px;color:#68766f;line-height:1.8;margin:0}
.tools-index{padding:28px 0 56px}.tools-page-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.tool-entry{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:20px;min-height:190px;display:flex;flex-direction:column;transition:.2s}
.tool-entry:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(24,61,49,.08)}
.tool-entry .tool-entry-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#edf7f3;color:#075f49;font-size:22px}
.tool-entry h2{font-size:16px;margin:18px 0 7px}.tool-entry p{font-size:12px;color:#76827c;line-height:1.7;margin:0}.tool-entry b{margin-top:auto;padding-top:16px;color:#075f49;font-size:12px}
.tool-page-wrap{padding:30px 0 56px}.tool-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.tool-panel,.tool-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px}
.tool-panel{padding:28px}.tool-panel h1{font-size:28px;margin:0 0 8px}.tool-panel>p{font-size:12px;color:#68766f;line-height:1.8;margin-top:0}
.tool-form{display:grid;gap:14px;margin-top:22px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-group{display:flex;flex-direction:column;gap:6px}
.field-group label{font-size:12px;font-weight:700;color:#596760}.field-group input,.field-group select{height:44px;border:1px solid #dfe7e3;border-radius:9px;padding:0 12px;background:#fff;font-size:12px;outline:0}.field-group input:focus,.field-group select:focus{border-color:#8dbbad}
.tool-submit{height:44px;border:0;border-radius:9px;background:#075f49;color:#fff;font-weight:800;font-size:12px}
.result-box{margin-top:20px;background:#edf8f4;border-radius:13px;padding:18px;display:none}.result-box.show{display:block}
.result-box small{font-size:12px;color:#718079}.result-box strong{display:block;font-size:27px;color:#075f49;margin-top:5px}.result-box p{font-size:12px;color:#627069;margin:8px 0 0;line-height:1.7}
.breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.breakdown div{background:#fff;border-radius:9px;padding:11px}.breakdown small{font-size:12px}.breakdown b{display:block;font-size:12px;margin-top:4px}
.tool-side{display:grid;gap:14px;align-self:start;position:sticky;top:100px}.tool-side-box{padding:18px}.tool-side-box h3{font-size:13px;margin:0 0 10px}.tool-side-box p{font-size:12px;color:#68766f;line-height:1.7}
.tool-side-box a{display:block;padding:8px 0;border-bottom:1px solid #eef1ef;font-size:12px;color:#5f6d66}.tool-side-box a:last-child{border:0}
.holiday-list{display:grid;gap:10px;margin-top:18px}.holiday-item{display:grid;grid-template-columns:80px 1fr;gap:12px;align-items:center;background:#f7faf8;border-radius:10px;padding:12px}.holiday-date{font-weight:800;color:#075f49;font-size:12px}.holiday-name b{display:block;font-size:12px}.holiday-name small{font-size:12px;color:#87938d}
.disclaimer{margin-top:18px;background:#fff7e9;border-left:3px solid #f0a62f;border-radius:8px;padding:12px;font-size:12px;color:#695d46;line-height:1.7}
@media(max-width:980px){.tools-page-grid{grid-template-columns:repeat(3,1fr)}.tool-page-layout{grid-template-columns:1fr}.tool-side{position:static}}
@media(max-width:650px){.tools-page-grid,.form-row,.breakdown{grid-template-columns:1fr}.tools-hero h1{font-size:32px}.tool-panel{padding:20px}}


.search-page-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:50px 0 34px;border-bottom:1px solid #e5ebe8}
.search-page-hero h1{font-size:38px;color:#075f49;margin:0 0 9px}
.search-page-hero p{font-size:12px;color:#68766f;margin:0;line-height:1.8}
.search-page-wrap{padding:24px 0 58px}
.search-page-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:18px;margin-bottom:18px}
.search-page-form{display:grid;grid-template-columns:1fr auto;gap:10px}
.search-page-form input{height:46px;border:1px solid #dfe7e3;border-radius:10px;padding:0 14px;font-size:12px;outline:0}
.search-page-form input:focus{border-color:#8dbbad;box-shadow:0 0 0 3px rgba(7,95,73,.06)}
.search-page-form button{height:46px;border:0;border-radius:10px;background:#075f49;color:#fff;padding:0 24px;font-size:12px;font-weight:800}
.search-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.search-filter{border:1px solid #e0e7e3;background:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}
.search-filter.active{background:#075f49;color:#fff;border-color:#075f49}
.search-summary{display:flex;justify-content:space-between;align-items:center;margin:10px 0 14px}
.search-summary span{font-size:12px;color:#68766f}.search-summary b{font-size:12px;color:#075f49}
.search-results{display:grid;gap:10px}
.search-result-card{background:#fff;border:1px solid #e5ebe8;border-radius:13px;padding:15px;display:grid;grid-template-columns:46px 1fr auto;gap:13px;align-items:center;transition:.18s}
.search-result-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(25,61,50,.07);border-color:#cbdcd5}
.search-result-icon{width:46px;height:46px;border-radius:11px;background:#edf7f3;display:grid;place-items:center;font-size:22px}
.search-result-card small{font-size:12px;color:#087158;font-weight:800}.search-result-card h2{font-size:13px;margin:4px 0}.search-result-card p{font-size:12px;color:#75817c;line-height:1.6;margin:0}
.search-result-card em{font-style:normal;font-size:12px;color:#075f49;font-weight:800}
.search-empty{display:none;background:#fff;border:1px dashed #cad9d3;border-radius:13px;padding:36px 20px;text-align:center;color:#7b8882}
.search-empty b{display:block;font-size:14px;margin-bottom:5px}.search-empty p{font-size:12px;margin:0}
.search-suggestion-box{margin-top:20px;background:#f7faf8;border-radius:12px;padding:16px}
.search-suggestion-box h3{font-size:12px;margin:0 0 10px}.search-suggestion-box button{border:1px solid #dce6e1;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;margin:3px}
@media(max-width:650px){.search-page-form{grid-template-columns:1fr}.search-result-card{grid-template-columns:42px 1fr}.search-result-card em{display:none}.search-page-hero h1{font-size:30px}}


.auth-wrap{min-height:calc(100vh - 78px);display:grid;place-items:center;padding:50px 20px;background:linear-gradient(135deg,#eef7f3,#fff7ea)}
.auth-card{width:min(460px,100%);background:#fff;border:1px solid #e5ebe8;border-radius:18px;padding:28px;box-shadow:0 18px 45px rgba(22,57,46,.08)}
.auth-card h1{font-size:26px;margin:0 0 8px;color:#075f49}.auth-card>p{font-size:12px;color:#718079;line-height:1.7;margin:0 0 20px}
.auth-form{display:grid;gap:13px}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field label{font-size:12px;font-weight:700;color:#596760}.auth-field input,.auth-field select{height:44px;border:1px solid #dfe7e3;border-radius:9px;padding:0 12px;font-size:12px;outline:0}.auth-field input:focus,.auth-field select:focus{border-color:#8dbbad}
.auth-submit{height:44px;border:0;border-radius:9px;background:#075f49;color:#fff;font-weight:800;font-size:12px}.auth-alt{text-align:center;margin-top:16px;font-size:12px;color:#74817b}.auth-alt a{color:#075f49;font-weight:800}
.member-shell{padding:30px 0 56px}.member-grid{display:grid;grid-template-columns:230px 1fr;gap:24px}.member-sidebar{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:16px;align-self:start;position:sticky;top:100px}
.member-profile{display:flex;gap:10px;align-items:center;padding:8px 6px 16px;border-bottom:1px solid #edf1ef}.member-avatar{width:42px;height:42px;border-radius:50%;background:#075f49;color:#fff;display:grid;place-items:center;font-weight:800}.member-profile b{font-size:12px}.member-profile small{display:block;font-size:12px;color:#87938d;margin-top:2px}
.member-nav{padding-top:10px}.member-nav a{display:block;padding:9px 10px;border-radius:8px;font-size:12px;color:#65736c}.member-nav a.active,.member-nav a:hover{background:#edf7f3;color:#075f49;font-weight:700}
.member-main{display:grid;gap:16px}.member-hero{background:linear-gradient(135deg,#0c654f,#0a4d3f);color:#fff;border-radius:17px;padding:24px}.member-hero small{font-size:12px;color:#b5d3c9}.member-hero h1{font-size:27px;margin:5px 0}.member-hero p{font-size:12px;color:#c6ded6;margin:0;line-height:1.7}
.member-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:20px}.member-box h2{font-size:16px;margin:0 0 14px}
.journey-progress-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:8px}.journey-progress-head b{font-size:28px;color:#075f49}.journey-progress-head span{font-size:12px;color:#718079}
.journey-progress{height:10px;background:#edf1ef;border-radius:99px;overflow:hidden}.journey-progress span{display:block;height:100%;width:0;background:#0a7158;transition:.25s}
.journey-sections{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:18px}.journey-stage{border:1px solid #e5ebe8;border-radius:11px;padding:12px;background:#fbfcfb}.journey-stage.active{background:#edf7f3;border-color:#bfd9cf}.journey-stage small{font-size:12px;color:#8b9791}.journey-stage b{display:block;font-size:12px;margin-top:4px}
.member-checklist{display:grid;grid-template-columns:1fr 1fr;gap:9px}.member-task{display:flex;align-items:center;gap:9px;background:#f7faf8;border-radius:9px;padding:12px;font-size:12px}.member-task input{width:16px;height:16px;accent-color:#075f49}
.next-action{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;background:#fff8eb;border:1px solid #f3e4bd;border-radius:12px;padding:16px}.next-action small{font-size:12px;color:#9b8047}.next-action b{display:block;font-size:13px;margin:3px 0}.next-action p{font-size:12px;color:#746952;margin:0}.next-action a{background:#075f49;color:#fff;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:800}
.member-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.member-stat{background:#f7faf8;border-radius:11px;padding:14px}.member-stat small{font-size:12px;color:#87938d}.member-stat b{display:block;font-size:20px;color:#075f49;margin-top:4px}
.favorite-list{display:grid;gap:8px}.favorite-list a{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef1ef;padding:9px 0}.favorite-list a:last-child{border:0}.favorite-list b{font-size:12px}.favorite-list small{font-size:12px;color:#87938d}
.member-toolbar{display:flex;justify-content:space-between;align-items:center}.member-toolbar button{border:0;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:700}.secondary-btn{background:#f0f4f2;color:#53615a}.danger-btn{background:#fff1ef;color:#b4574f}
.notice{display:none;margin-bottom:14px;padding:10px 12px;border-radius:9px;background:#edf8f4;color:#075f49;font-size:12px}.notice.show{display:block}
@media(max-width:950px){.member-grid{grid-template-columns:1fr}.member-sidebar{position:static}.journey-sections{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.member-checklist,.member-stat-grid,.journey-sections{grid-template-columns:1fr}.next-action{grid-template-columns:1fr}.member-hero h1{font-size:22px}}


.community-hero-page{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:50px 0 34px;border-bottom:1px solid #e5ebe8}
.community-hero-page h1{font-size:38px;color:#075f49;margin:0 0 8px}.community-hero-page p{font-size:12px;color:#68766f;line-height:1.8;margin:0}
.community-page{padding:24px 0 56px}.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}
.community-main{display:grid;gap:14px}.community-toolbar{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:14px}
.community-toolbar-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.community-tabs{display:flex;gap:7px;flex-wrap:wrap}
.community-tab{border:1px solid #e0e7e3;background:#fff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700}
.community-tab.active{background:#075f49;color:#fff;border-color:#075f49}.community-create{border:0;border-radius:9px;background:#075f49;color:#fff;padding:9px 13px;font-size:12px;font-weight:800}
.community-search{margin-top:12px;width:100%;height:40px;border:1px solid #dfe7e3;border-radius:9px;padding:0 12px;font-size:12px;outline:0}
.post-list{display:grid;gap:10px}.post-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:16px;display:grid;grid-template-columns:44px 1fr;gap:12px;transition:.18s}
.post-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(24,61,49,.07)}.post-avatar{width:44px;height:44px;border-radius:50%;background:#edf7f3;color:#075f49;display:grid;place-items:center;font-weight:800;font-size:12px}
.post-head{display:flex;justify-content:space-between;gap:10px}.post-head small{font-size:12px;color:#8a9691}.post-tag{font-size:12px;color:#075f49;background:#edf8f4;border-radius:5px;padding:3px 6px;font-weight:700}
.post-card h2{font-size:14px;line-height:1.45;margin:5px 0}.post-card p{font-size:12px;color:#6e7a74;line-height:1.65;margin:0}
.post-meta{display:flex;gap:13px;margin-top:11px;color:#89958f;font-size:12px}.post-meta span{display:flex;align-items:center;gap:4px}
.community-side{display:grid;gap:12px;align-self:start;position:sticky;top:100px}.community-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:16px}.community-side-box h3{font-size:12px;margin:0 0 10px}
.side-topic{display:block;padding:9px 0;border-bottom:1px solid #eef1ef}.side-topic:last-child{border:0}.side-topic b{font-size:12px}.side-topic small{display:block;font-size:12px;color:#8b9791;margin-top:2px}
.community-empty{display:none;background:#fff;border:1px dashed #cbd8d2;border-radius:13px;padding:30px;text-align:center;font-size:12px;color:#7b8882}
.post-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;padding:24px 0 56px}.post-detail,.post-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:14px}
.post-detail{padding:24px}.post-detail h1{font-size:25px;line-height:1.4;margin:8px 0 10px}.post-author{display:flex;align-items:center;gap:10px;padding-bottom:16px;border-bottom:1px solid #eef1ef}
.post-author .post-avatar{width:38px;height:38px}.post-author b{font-size:12px}.post-author small{display:block;font-size:12px;color:#89958f}
.post-content{padding:18px 0}.post-content p{font-size:12px;line-height:1.9;color:#596760}
.post-actions{display:flex;gap:8px;padding-top:14px;border-top:1px solid #eef1ef}.post-actions button{border:1px solid #dce5e1;background:#fff;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:700}.post-actions button.active{background:#edf8f4;color:#075f49;border-color:#bcd7cd}
.comments{margin-top:18px}.comments h2{font-size:15px;margin:0 0 12px}.comment-form{display:grid;grid-template-columns:1fr auto;gap:8px}.comment-form textarea{min-height:80px;resize:vertical;border:1px solid #dfe7e3;border-radius:9px;padding:10px;font-size:12px}.comment-form button{align-self:end;height:38px;border:0;background:#075f49;color:#fff;border-radius:8px;padding:0 13px;font-size:12px;font-weight:800}
.comment-list{display:grid;gap:9px;margin-top:14px}.comment{background:#f7faf8;border-radius:10px;padding:12px}.comment-head{display:flex;justify-content:space-between}.comment-head b{font-size:12px}.comment-head small{font-size:12px;color:#89958f}.comment p{font-size:12px;line-height:1.65;color:#627069;margin:6px 0 0}
.post-side{display:grid;gap:12px;align-self:start;position:sticky;top:100px}.post-side-box{padding:16px}.post-side-box h3{font-size:12px;margin:0 0 9px}.post-side-box a{display:block;padding:8px 0;border-bottom:1px solid #eef1ef;font-size:12px;color:#5d6b64}.post-side-box a:last-child{border:0}
.create-post-wrap{padding:30px 0 56px}.create-post-card{max-width:760px;margin:auto;background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:24px}.create-post-card h1{font-size:24px;margin:0 0 8px}.create-post-card>p{font-size:12px;color:#718079;margin:0 0 20px}
.create-form{display:grid;gap:13px}.create-field{display:flex;flex-direction:column;gap:6px}.create-field label{font-size:12px;font-weight:700}.create-field input,.create-field select,.create-field textarea{border:1px solid #dfe7e3;border-radius:9px;padding:10px 12px;font-size:12px;outline:0}.create-field input,.create-field select{height:42px}.create-field textarea{min-height:180px;resize:vertical}
.create-submit{height:43px;border:0;border-radius:9px;background:#075f49;color:#fff;font-size:12px;font-weight:800}
@media(max-width:950px){.community-layout,.post-detail-layout{grid-template-columns:1fr}.community-side,.post-side{position:static}}
@media(max-width:650px){.community-toolbar-top{align-items:flex-start;flex-direction:column}.comment-form{grid-template-columns:1fr}.post-detail{padding:18px}}


.admin-shell{min-height:100vh;background:#f4f7f5;display:grid;grid-template-columns:220px 1fr}.admin-nav{background:#12231e;color:#c9d5d0;padding:24px 16px}.admin-brand{color:#fff;font-size:18px;font-weight:800;margin-bottom:30px}.admin-nav a{display:block;padding:10px 12px;border-radius:8px;font-size:12px;margin:3px 0}.admin-nav a.active{background:#203a32;color:#fff}.admin-main{padding:30px}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.admin-top h1{font-size:24px;margin:0}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.admin-stat{background:#fff;border:1px solid #e5ebe8;border-radius:12px;padding:16px}.admin-stat small{font-size:12px;color:#87938d}.admin-stat b{display:block;font-size:22px;margin-top:5px}.admin-list{background:#fff;border:1px solid #e5ebe8;border-radius:13px;overflow:hidden}.admin-row{display:grid;grid-template-columns:2fr 100px 100px 120px;gap:10px;padding:12px 14px;border-bottom:1px solid #eef1ef;font-size:12px}.admin-row.head{background:#f8faf9;font-weight:800}.admin-row button{border:0;border-radius:6px;padding:5px 7px;font-size:12px}.admin-row .approve{background:#edf8f4;color:#075f49}.admin-row .remove{background:#fff0ef;color:#b54f48}


.cms-shell{min-height:100vh;background:#f4f7f5;display:grid;grid-template-columns:230px 1fr}.cms-sidebar{background:#12231e;color:#cad6d1;padding:24px 16px;position:sticky;top:0;height:100vh}.cms-brand{color:#fff;font-size:18px;font-weight:800;margin-bottom:28px}.cms-brand small{display:block;font-size:12px;color:#8ea49b;margin-top:4px}.cms-nav a{display:block;padding:10px 12px;border-radius:8px;font-size:12px;margin:3px 0}.cms-nav a:hover,.cms-nav a.active{background:#203a32;color:#fff}.cms-main{padding:28px}.cms-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.cms-top h1{font-size:24px;margin:0}.cms-top p{font-size:12px;color:#7e8b85;margin:4px 0 0}.cms-actions{display:flex;gap:8px}.cms-btn{border:0;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:800}.cms-btn.primary{background:#075f49;color:#fff}.cms-btn.secondary{background:#eaf1ee;color:#526159}.cms-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.cms-stat{background:#fff;border:1px solid #e4ebe7;border-radius:12px;padding:16px}.cms-stat small{font-size:12px;color:#839089}.cms-stat b{display:block;font-size:23px;margin-top:5px;color:#075f49}.cms-panel{background:#fff;border:1px solid #e4ebe7;border-radius:13px;overflow:hidden;margin-bottom:18px}.cms-panel-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1ef}.cms-panel-head h2{font-size:13px;margin:0}.cms-table{width:100%;border-collapse:collapse}.cms-table th,.cms-table td{padding:11px 14px;border-bottom:1px solid #eef1ef;text-align:left;font-size:12px}.cms-table th{background:#f8faf9;color:#6b7771}.cms-table tr:last-child td{border-bottom:0}.status{display:inline-block;padding:3px 6px;border-radius:5px;font-size:12px}.status.ok{background:#edf8f4;color:#075f49}.status.draft{background:#fff5e9;color:#ad6b18}.status.demo{background:#f0f2f7;color:#666f84}.cms-icon-btn{border:0;background:#f1f5f3;color:#536159;border-radius:6px;padding:5px 7px;font-size:12px}.cms-icon-btn.danger{background:#fff0ef;color:#b44f47}.cms-search{height:36px;border:1px solid #dfe7e3;border-radius:8px;padding:0 10px;font-size:12px}.cms-editor{display:grid;gap:12px;padding:18px}.cms-field{display:flex;flex-direction:column;gap:5px}.cms-field label{font-size:12px;font-weight:700}.cms-field input,.cms-field select,.cms-field textarea{border:1px solid #dfe7e3;border-radius:8px;padding:9px 10px;font-size:12px}.cms-field input,.cms-field select{height:38px}.cms-field textarea{min-height:150px}.cms-modal{display:none;position:fixed;inset:0;background:rgba(10,25,21,.45);z-index:100;align-items:center;justify-content:center;padding:20px}.cms-modal.show{display:flex}.cms-modal-card{width:min(640px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:14px}.cms-modal-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #edf1ef}.cms-modal-head h3{font-size:14px;margin:0}.cms-close{border:0;background:none;font-size:18px}.cms-footer-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;border-top:1px solid #edf1ef}@media(max-width:900px){.cms-shell{grid-template-columns:1fr}.cms-sidebar{display:none}.cms-stats{grid-template-columns:1fr 1fr}.cms-main{padding:18px}}@media(max-width:600px){.cms-stats{grid-template-columns:1fr}.cms-top{flex-direction:column;align-items:flex-start;gap:12px}}


.onboarding-wrap{min-height:calc(100vh - 78px);padding:42px 20px 60px;background:linear-gradient(135deg,#eef7f3,#fff8ea)}
.onboarding-card{width:min(760px,100%);margin:auto;background:#fff;border:1px solid #e5ebe8;border-radius:18px;box-shadow:0 18px 45px rgba(22,57,46,.08);overflow:hidden}
.onboarding-head{padding:24px 28px 18px;border-bottom:1px solid #edf1ef}.onboarding-head h1{font-size:24px;color:#075f49;margin:0 0 7px}.onboarding-head p{font-size:12px;color:#718079;line-height:1.7;margin:0}
.step-row{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #edf1ef}.step-item{padding:13px 16px;text-align:center;background:#fafcfb;color:#8a9691;font-size:12px;font-weight:700}.step-item.active{background:#edf7f3;color:#075f49}.step-item.done{color:#075f49}
.profile-form{padding:24px 28px;display:grid;gap:14px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-field{display:flex;flex-direction:column;gap:6px}.profile-field label{font-size:12px;font-weight:700;color:#596760}.profile-field input,.profile-field select{height:44px;border:1px solid #dfe7e3;border-radius:9px;padding:0 12px;font-size:12px;outline:0}.profile-field input:focus,.profile-field select:focus{border-color:#8dbbad}
.profile-help{font-size:12px;color:#8a9691;line-height:1.6}.profile-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.profile-actions button,.profile-actions a{border:0;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:800}.profile-actions .primary{background:#075f49;color:#fff}.profile-actions .secondary{background:#eef3f1;color:#58665f}
.phone-row{display:grid;grid-template-columns:120px 1fr;gap:10px}.verify-box{padding:24px 28px;display:grid;gap:16px}.verify-phone{background:#f7faf8;border-radius:12px;padding:14px}.verify-phone small{font-size:12px;color:#85918c}.verify-phone b{display:block;font-size:14px;margin-top:4px}.otp-row{display:grid;grid-template-columns:1fr auto;gap:9px}.otp-row input{height:46px;border:1px solid #dfe7e3;border-radius:9px;padding:0 12px;font-size:16px;letter-spacing:4px;text-align:center}.otp-row button{border:0;border-radius:9px;background:#eef6f2;color:#075f49;font-size:12px;font-weight:800;padding:0 13px}
.verify-submit{height:44px;border:0;border-radius:9px;background:#075f49;color:#fff;font-size:12px;font-weight:800}
.sms-status{display:none;border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.6}.sms-status.show{display:block}.sms-status.ok{background:#edf8f4;color:#075f49}.sms-status.warn{background:#fff6e9;color:#8a6425}.sms-status.error{background:#fff0ef;color:#b04f47}
.verified-badge{display:inline-flex;align-items:center;gap:5px;background:#edf8f4;color:#075f49;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800}
.member-profile-details{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.member-profile-details div{background:#f7faf8;border-radius:9px;padding:10px}.member-profile-details small{display:block;font-size:12px;color:#89958f}.member-profile-details b{display:block;font-size:12px;margin-top:3px}
@media(max-width:650px){.profile-grid,.phone-row,.member-profile-details{grid-template-columns:1fr}.step-item{padding:11px 7px;font-size:12px}.profile-form,.verify-box{padding:20px}.onboarding-head{padding:20px}}


.privacy-box{background:#fff;border:1px solid #e5ebe8;border-radius:15px;padding:20px}
.privacy-box h2{font-size:15px;margin:0 0 12px}.privacy-box p{font-size:12px;color:#6c7973;line-height:1.75}
.privacy-list{display:grid;gap:9px;margin-top:13px}.privacy-item{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f7faf8;border-radius:10px;padding:12px}
.privacy-item b{font-size:12px}.privacy-item small{display:block;font-size:12px;color:#89958f;margin-top:3px}
.privacy-item button,.privacy-item a{border:0;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:800;background:#edf7f3;color:#075f49}
.privacy-item .danger{background:#fff0ef;color:#b04f47}
.sensitive-row{display:grid;grid-template-columns:160px 1fr auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #eef1ef}.sensitive-row:last-child{border:0}
.sensitive-row span{font-size:12px;color:#7f8b85}.sensitive-row b{font-size:12px}.sensitive-row button{border:0;background:#eef4f1;color:#075f49;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800}
.consent-check{display:flex;gap:9px;align-items:flex-start;background:#f7faf8;border-radius:10px;padding:12px}.consent-check input{margin-top:2px;accent-color:#075f49}.consent-check span{font-size:12px;color:#65726c;line-height:1.65}
.member-admin-table{width:100%;border-collapse:collapse}.member-admin-table th,.member-admin-table td{padding:10px 12px;border-bottom:1px solid #eef1ef;text-align:left;font-size:12px}.member-admin-table th{background:#f8faf9}
.data-export-pre{white-space:pre-wrap;word-break:break-word;background:#12231e;color:#d6e6df;border-radius:10px;padding:14px;font-size:12px;line-height:1.6;max-height:320px;overflow:auto}
@media(max-width:650px){.sensitive-row{grid-template-columns:1fr auto}.sensitive-row span{grid-column:1/-1}}


/* v20 whole-site polish */
.site-menu-toggle{display:none;border:0;background:none;font-size:24px;color:#075f49;padding:6px 8px}
.global-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,18px);opacity:0;background:#12231e;color:#fff;border-radius:9px;padding:10px 14px;font-size:12px;z-index:999;transition:.2s}.global-toast.show{opacity:1;transform:translate(-50%,0)}
.simple-page{padding:46px 0 64px}.simple-page-card{max-width:900px;margin:auto;background:#fff;border:1px solid #e5ebe8;border-radius:16px;padding:28px}
.simple-page h1{font-size:30px;color:#075f49;margin:0 0 12px}.simple-page h2{font-size:17px;margin:28px 0 8px}.simple-page p,.simple-page li{font-size:12px;line-height:1.85;color:#5f6d66}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.contact-box{background:#f7faf8;border-radius:11px;padding:16px}.contact-box b{font-size:12px}.contact-box p{font-size:12px;margin:5px 0 0}
.notfound{min-height:70vh;display:grid;place-items:center;text-align:center;padding:40px}.notfound h1{font-size:80px;color:#075f49;margin:0}.notfound h2{font-size:22px;margin:4px 0}.notfound p{font-size:12px;color:#718079}.notfound a{display:inline-block;margin-top:12px;background:#075f49;color:#fff;border-radius:8px;padding:10px 15px;font-size:12px;font-weight:800}
.footer-links{flex-wrap:wrap}
@media(max-width:980px){
  .site-menu-toggle{display:block;margin-left:auto}
  .navbar{position:relative}
  .nav-links{display:none!important;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #e5ebe8;border-bottom:1px solid #e5ebe8;padding:14px 20px;box-shadow:0 12px 28px rgba(24,61,49,.08);z-index:80;flex-direction:column;align-items:flex-start;gap:4px!important}
  .nav-links.mobile-open{display:flex!important}
  .nav-links a{width:100%;padding:9px 0}
  .nav-links a.active:after{display:none!important}
}
@media(max-width:650px){.contact-grid{grid-template-columns:1fr}.simple-page-card{padding:20px}.notfound h1{font-size:58px}}

.news-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:50px 0 34px;border-bottom:1px solid #e5ebe8}.news-hero h1{font-size:38px;color:#075f49;margin:0 0 8px}.news-hero p{font-size:12px;color:#68766f;line-height:1.8;margin:0}.news-page{padding:26px 0 58px}.news-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.news-tab{border:1px solid #dfe7e3;background:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800}.news-tab.active{background:#075f49;color:#fff;border-color:#075f49}.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.news-list-page{display:grid;gap:12px}.news-item-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:16px;display:grid;grid-template-columns:110px 1fr;gap:14px}.news-image{height:84px;border-radius:10px;background:linear-gradient(135deg,#e7f3ef,#f6ead9);display:grid;place-items:center;font-size:30px}.news-item-card small{font-size:12px;color:#087158;font-weight:800}.news-item-card h2{font-size:14px;margin:5px 0}.news-item-card p{font-size:12px;color:#728079;line-height:1.65;margin:0}.news-meta{font-size:12px;color:#929d98;margin-top:8px}.news-side{display:grid;gap:12px;align-self:start;position:sticky;top:100px}.news-side-box{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:16px}.news-side-box h3{font-size:12px;margin:0 0 10px}.news-side-box a{display:block;padding:9px 0;border-bottom:1px solid #eef1ef;font-size:12px}.home-news-section{padding:26px 0}.home-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-news-column{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:18px}.home-news-column h3{font-size:15px;margin:0 0 12px}.home-news-mini{display:grid;gap:10px}.home-news-mini a{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eef1ef}.home-news-mini a:last-child{border-bottom:0}.home-news-mini span{width:42px;height:42px;border-radius:9px;background:#edf7f3;display:grid;place-items:center;font-size:19px}.home-news-mini b{display:block;font-size:12px}.home-news-mini small{font-size:12px;color:#8b9791}.news-note{margin-top:14px;padding:11px 13px;background:#fff7e9;border-radius:9px;font-size:12px;color:#756548;line-height:1.65}@media(max-width:900px){.news-layout,.home-news-grid{grid-template-columns:1fr}.news-side{position:static}}@media(max-width:600px){.news-item-card{grid-template-columns:1fr}}


/* v22 homepage restructure */
.city-events-section{padding:26px 0 34px}
.city-events-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.city-event-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:16px;display:flex;flex-direction:column;min-height:168px;transition:.18s}
.city-event-card:hover{transform:translateY(-3px);box-shadow:0 11px 26px rgba(24,61,49,.08)}
.city-event-card small{font-size:12px;color:#087158;font-weight:800}.city-event-card h3{font-size:14px;line-height:1.45;margin:7px 0}
.city-event-card p{font-size:12px;color:#74817b;line-height:1.65;margin:0}.city-event-card b{margin-top:auto;padding-top:13px;font-size:12px;color:#075f49}
.hotspot-section{padding:26px 0}
.hotspot-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hotspot-column{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:18px}
.hotspot-column h3{font-size:16px;margin:0 0 12px}
.hotspot-list{display:grid;gap:9px}.hotspot-item{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eef1ef}
.hotspot-item:last-child{border-bottom:0}.hotspot-item span{width:42px;height:42px;border-radius:9px;background:#edf7f3;display:grid;place-items:center;font-size:19px}
.hotspot-item b{display:block;font-size:12px;line-height:1.45}.hotspot-item small{font-size:12px;color:#89958f}
.guide-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.guide-feature-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.18s}
.guide-feature-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,49,.08)}
.guide-feature-cover{height:118px;background:linear-gradient(135deg,#e7f3ef,#f7ecdb);display:grid;place-items:center;font-size:34px}
.guide-feature-body{padding:15px;display:flex;flex-direction:column;flex:1}
.guide-feature-body small{font-size:12px;color:#087158;font-weight:800}.guide-feature-body h3{font-size:14px;line-height:1.45;margin:6px 0}
.guide-feature-body p{font-size:12px;color:#74817b;line-height:1.65;margin:0}.guide-feature-body b{margin-top:auto;padding-top:12px;font-size:12px;color:#075f49}
.section-kicker{font-size:12px;color:#075f49;font-weight:800;letter-spacing:1px;margin-bottom:5px}
@media(max-width:1000px){.city-events-grid{grid-template-columns:repeat(3,1fr)}.guide-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.city-events-grid,.hotspot-grid,.guide-feature-grid{grid-template-columns:1fr}}


.events-hero{background:linear-gradient(135deg,#eef7f3,#fff7ea);padding:50px 0 34px;border-bottom:1px solid #e5ebe8}
.events-hero h1{font-size:38px;color:#075f49;margin:0 0 8px}.events-hero p{font-size:12px;color:#68766f;line-height:1.8;margin:0}
.events-page{padding:26px 0 58px}.events-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.events-filter button{border:1px solid #dfe7e3;background:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800}
.events-filter button.active{background:#075f49;color:#fff;border-color:#075f49}
.events-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.event-detail-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.18s}
.event-detail-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,49,.08)}
.event-detail-cover{height:120px;background:linear-gradient(135deg,#e7f3ef,#f7ecdb);display:grid;place-items:center;font-size:34px}
.event-detail-cover img{display:block;width:100%;height:100%;object-fit:cover}
.event-detail-body{padding:15px;display:flex;flex-direction:column;flex:1}.event-detail-body small{font-size:12px;color:#087158;font-weight:800}
.event-detail-body h2{font-size:14px;line-height:1.45;margin:6px 0}.event-detail-body p{font-size:12px;color:#74817b;line-height:1.65;margin:0}
.event-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px;font-size:12px;color:#87938d}
.event-detail-body b{margin-top:auto;padding-top:12px;font-size:12px;color:#075f49}
.hotspot-simple-list{display:grid;gap:10px}.hotspot-simple-card{background:#fff;border:1px solid #e5ebe8;border-radius:13px;padding:14px;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center}
.hotspot-simple-card span{width:42px;height:42px;border-radius:9px;background:#edf7f3;display:grid;place-items:center;font-size:20px}
.hotspot-simple-card b{display:block;font-size:12px;line-height:1.45}.hotspot-simple-card small{font-size:12px;color:#89958f}.hotspot-simple-card em{font-style:normal;font-size:12px;color:#075f49;font-weight:800}
.section-title-fix{margin-bottom:14px}.section-title-fix h3{font-size:20px;margin:0}.section-title-fix p{font-size:12px;color:#7a8781;margin:4px 0 0}
@media(max-width:900px){.events-list{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.events-list{grid-template-columns:1fr}.hotspot-simple-card{grid-template-columns:42px 1fr}.hotspot-simple-card em{display:none}}


/* v24 homepage fixes */
.life-tools-section{padding:26px 0}
.life-tool-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.life-tool-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:17px;text-align:center;min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.18s}
.life-tool-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,49,.08);border-color:#bfd7ce}
.life-tool-card span{width:46px;height:46px;border-radius:50%;background:#edf7f3;display:grid;place-items:center;font-size:22px;margin-bottom:10px}
.life-tool-card b{font-size:12px;color:#17211e}.life-tool-card small{font-size:12px;color:#89958f;margin-top:5px;line-height:1.5}
@media(max-width:1000px){.life-tool-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.life-tool-grid{grid-template-columns:1fr 1fr}}

/* v25 life services tool-style module */
.service-tools-section{padding:26px 0}
.service-tool-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.service-tool-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:17px;text-align:center;min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.18s}
.service-tool-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,49,.08);border-color:#bfd7ce}
.service-tool-card span{width:46px;height:46px;border-radius:50%;background:#edf7f3;display:grid;place-items:center;font-size:22px;margin-bottom:10px}
.service-tool-card b{font-size:12px;color:#17211e}
.service-tool-card small{font-size:12px;color:#89958f;margin-top:5px;line-height:1.5}
@media(max-width:1000px){.service-tool-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.service-tool-grid{grid-template-columns:1fr 1fr}}

/* v26 tools use same visual template as life services */
.tool-services-section{padding:26px 0}

/* v27 */
body{font-size:15px;line-height:1.6}.container{max-width:1180px}.nav-links a{font-size:13px;font-weight:700}.brand-name b,.brand-name strong{font-size:18px}.btn{font-size:12px;padding:9px 14px}.card-heading{margin-bottom:14px}.card-heading h3{font-size:23px}.card-heading p{font-size:12px}.content-section,.service-tools-section,.tool-services-section,.hotspot-section,.city-events-section{padding:22px 0}.guide-feature-body h3{font-size:16px}.guide-feature-body p{font-size:12px}.service-tool-card{min-height:130px;padding:16px}.service-tool-card b{font-size:13px}.service-tool-card small{font-size:12px}.city-event-card{min-height:150px}.city-event-card h3{font-size:17px}.city-event-card p{font-size:12px}.news-page{padding:22px 0 50px}.news-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.news-tab{border:1px solid #dfe7e3;background:#fff;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:800;cursor:pointer}.news-tab.active{background:#075f49;color:#fff;border-color:#075f49}.news-grid-v27{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.news-card-v27{background:#fff;border:1px solid #e5ebe8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:.18s}.news-card-v27:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(24,61,49,.08)}.news-card-v27 .cover{height:150px;background:linear-gradient(135deg,#e8f3ef,#f6eadb);display:grid;place-items:center;font-size:40px}.news-card-v27 .body{padding:16px;display:flex;flex-direction:column;flex:1}.news-card-v27 .meta{display:flex;gap:8px;font-size:12px;color:#82908a}.news-card-v27 .tag{color:#075f49;font-weight:800}.news-card-v27 h2{font-size:17px;line-height:1.45;margin:7px 0}.news-card-v27 p{font-size:12px;line-height:1.7;color:#69766f;margin:0}.news-card-v27 b{margin-top:auto;padding-top:12px;font-size:12px;color:#075f49}.article-news{max-width:820px;margin:0 auto;padding:28px 0 55px}.article-news-card{background:#fff;border:1px solid #e5ebe8;border-radius:16px;padding:26px}.article-news-card h1{font-size:30px}.article-news-card .news-lead{font-size:14px;color:#66736d}.article-news-card p{font-size:13px;line-height:1.9;color:#56645d}@media(max-width:800px){.news-grid-v27{grid-template-columns:1fr}.news-card-v27 .cover{height:120px}}


/* v28 news interaction + member-only community */
.news-interactions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0;padding:16px 0;border-top:1px solid #eef1ef;border-bottom:1px solid #eef1ef}
.news-action-btn{border:1px solid #dce5e1;background:#fff;color:#56645d;border-radius:9px;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer;transition:.18s}
.news-action-btn:hover,.news-action-btn.active{background:#edf8f4;border-color:#bcd7cd;color:#075f49}
.news-share-note{display:none;margin-top:8px;font-size:12px;color:#075f49}.news-share-note.show{display:block}
.news-comments{margin-top:24px}.news-comments h2{font-size:19px;margin:0 0 12px}
.news-comment-login{background:#fff7e9;border:1px solid #f2e0b9;border-radius:10px;padding:13px;font-size:12px;color:#6f624b}
.news-comment-login a{color:#075f49;font-weight:800}
.news-comment-form{display:grid;gap:9px;margin-bottom:16px}
.news-comment-form textarea{min-height:90px;resize:vertical;border:1px solid #dfe7e3;border-radius:10px;padding:11px 12px;font-size:12px;outline:0}
.news-comment-form textarea:focus{border-color:#8dbbad}
.news-comment-form button{justify-self:end;border:0;border-radius:9px;background:#075f49;color:#fff;padding:9px 14px;font-size:12px;font-weight:800}
.news-comment-list{display:grid;gap:10px}
.news-comment{background:#f7faf8;border-radius:11px;padding:13px}
.news-comment-head{display:flex;justify-content:space-between;gap:10px}.news-comment-head b{font-size:12px}.news-comment-head small{font-size:12px;color:#89958f}
.news-comment p{font-size:12px!important;line-height:1.7!important;margin:6px 0 0!important}
.news-recommend{margin-top:26px}.news-recommend h2{font-size:19px;margin:0 0 12px}
.news-recommend-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.news-recommend-card{border:1px solid #e5ebe8;border-radius:11px;padding:13px;background:#fff;transition:.18s}
.news-recommend-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(24,61,49,.07)}
.news-recommend-card small{font-size:12px;color:#075f49;font-weight:800}.news-recommend-card b{display:block;font-size:12px;line-height:1.5;margin-top:5px}
.community-locked{min-height:65vh;display:grid;place-items:center;padding:40px 20px}
.community-locked-card{max-width:520px;width:100%;background:#fff;border:1px solid #e5ebe8;border-radius:16px;padding:26px;text-align:center}
.community-locked-card .lock-icon{width:58px;height:58px;border-radius:50%;background:#edf7f3;display:grid;place-items:center;margin:0 auto 13px;font-size:25px}
.community-locked-card h1{font-size:24px;margin:0 0 7px;color:#075f49}.community-locked-card p{font-size:12px;color:#6c7973;line-height:1.7}
.community-locked-actions{display:flex;justify-content:center;gap:8px;margin-top:16px}.community-locked-actions a{border-radius:9px;padding:9px 13px;font-size:12px;font-weight:800}.community-locked-actions .login{background:#075f49;color:#fff}.community-locked-actions .register{border:1px solid #cbd9d3;color:#075f49}
@media(max-width:750px){.news-recommend-grid{grid-template-columns:1fr}.news-interactions{gap:7px}}

/* v29 member inbox + rewards */
.member-center-grid{display:grid;grid-template-columns:220px 1fr;gap:18px;padding:24px 0 50px}
.member-panel{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:18px}
.member-side-title{font-size:12px;color:#839089;margin-bottom:8px}.member-menu{display:grid;gap:5px}
.member-menu a{padding:10px 12px;border-radius:9px;font-size:12px;font-weight:700}.member-menu a:hover,.member-menu a.active{background:#edf7f3;color:#075f49}
.member-page-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:15px}.member-page-title h1{font-size:25px;margin:0}.member-page-title p{font-size:12px;color:#78857f;margin:4px 0 0}
.inbox-list,.reward-list{display:grid;gap:10px}.inbox-item,.reward-item{border:1px solid #e5ebe8;border-radius:11px;padding:14px;background:#fff}
.inbox-item.unread{border-left:4px solid #087158}.inbox-item h3,.reward-item h3{font-size:13px;margin:0 0 5px}.inbox-item p,.reward-item p{font-size:12px;color:#68766f;line-height:1.65;margin:0}.item-meta{font-size:12px;color:#929d98;margin-top:7px}
.reward-code{margin-top:11px;background:#f4f8f6;border:1px dashed #a9c5ba;border-radius:9px;padding:11px;display:flex;justify-content:space-between;align-items:center;gap:10px}.reward-code code{font-size:13px;font-weight:800;color:#075f49}.reward-code button,.claim-btn{border:0;background:#075f49;color:#fff;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}
.reward-status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800;background:#edf7f3;color:#075f49;margin-bottom:8px}
.admin-send-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-form label{display:grid;gap:5px;font-size:12px;font-weight:800}.admin-form input,.admin-form select,.admin-form textarea{width:100%;border:1px solid #dce5e1;border-radius:9px;padding:10px;font-size:12px}.admin-form textarea{min-height:100px;resize:vertical}.admin-form button{border:0;background:#075f49;color:#fff;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer}.admin-member-list{display:grid;gap:8px;margin-top:12px}.admin-member-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px;border:1px solid #e5ebe8;border-radius:10px}.admin-member-row b{font-size:12px}.admin-member-row small{font-size:12px;color:#87938d}.admin-note{font-size:12px;color:#7b8781;background:#fff7e9;border-radius:9px;padding:10px;margin-top:12px}
@media(max-width:800px){.member-center-grid{grid-template-columns:1fr}.admin-send-grid{grid-template-columns:1fr}}

/* v30 XP / badges / leaderboard */
.xp-hero{background:linear-gradient(135deg,#0b654f,#0a4c3e);color:#fff;border-radius:16px;padding:20px;margin-bottom:14px}
.xp-hero-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.xp-hero h2{font-size:22px;margin:2px 0 4px}.xp-hero p{font-size:12px;color:#c8dfd7;margin:0}
.level-pill{background:rgba(255,255,255,.14);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}
.xp-progress{height:9px;background:rgba(255,255,255,.18);border-radius:99px;overflow:hidden;margin-top:14px}.xp-progress span{display:block;height:100%;background:#fff;border-radius:99px}
.xp-meta{display:flex;justify-content:space-between;font-size:12px;color:#d7e9e3;margin-top:6px}
.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.badge-card{border:1px solid #e5ebe8;border-radius:11px;padding:12px;text-align:center;background:#fff}
.badge-card.locked{opacity:.42}.badge-icon{font-size:25px}.badge-card b{display:block;font-size:12px;margin-top:5px}.badge-card small{display:block;font-size:12px;color:#89958f;margin-top:3px;line-height:1.4}
.leaderboard{display:grid;gap:8px}.leader-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e5ebe8;border-radius:10px;background:#fff}
.leader-rank{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#edf7f3;color:#075f49;font-size:12px;font-weight:900}.leader-row b{font-size:12px}.leader-row small{display:block;font-size:12px;color:#89958f;margin-top:2px}.leader-xp{font-size:12px;color:#075f49;font-weight:900}
.xp-rule-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.xp-rule{display:flex;justify-content:space-between;gap:12px;background:#f7faf8;border-radius:9px;padding:10px;font-size:12px}.xp-rule b{color:#075f49}
.admin-top10-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.admin-top10-actions button{border:0;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:800;background:#075f49;color:#fff}
.member-check{width:16px;height:16px;accent-color:#075f49}
.reward-bulk{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.reward-bulk input,.reward-bulk select{border:1px solid #dce5e1;border-radius:8px;padding:9px;font-size:12px}
@media(max-width:800px){.badge-grid{grid-template-columns:1fr 1fr}.xp-rule-list{grid-template-columns:1fr}.reward-bulk{grid-template-columns:1fr}}

/* v31-member-unified */
.member-v31{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:24px 0 52px}
.member-v31-side{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:15px;align-self:start;position:sticky;top:86px}
.member-v31-profile{display:flex;gap:10px;align-items:center;padding:6px 6px 14px;border-bottom:1px solid #edf1ef}
.member-v31-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#075f49;color:#fff;font-weight:900}
.member-v31-profile b{font-size:12px}.member-v31-profile small{display:block;font-size:12px;color:#85928c;margin-top:2px}
.member-v31-nav{display:grid;gap:4px;padding-top:11px}.member-v31-nav a{padding:10px 11px;border-radius:8px;font-size:12px;color:#5f6c66;font-weight:700}
.member-v31-nav a.active,.member-v31-nav a:hover{background:#edf7f3;color:#075f49}
.member-nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;margin-left:7px;background:#075f49;color:#fff;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;border-radius:2px}.member-v31-nav a.active .member-nav-badge{background:#06513e}.favorite-list .member-nav-badge{vertical-align:middle}
.member-v31-main{display:grid;gap:14px}.member-v31-card{background:#fff;border:1px solid #e5ebe8;border-radius:14px;padding:18px}
.member-v31-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.member-v31-title h1,.member-v31-title h2{margin:0}.member-v31-title h1{font-size:24px}.member-v31-title h2{font-size:17px}
.member-v31-title p{font-size:12px;color:#7a8781;margin:4px 0 0}.profile-data-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.profile-data-item{background:#f7faf8;border-radius:9px;padding:11px}.profile-data-item small{display:block;font-size:12px;color:#89958f}
.profile-data-item b{display:block;font-size:12px;line-height:1.55;margin-top:4px;word-break:break-word}
.profile-sensitive-line{display:flex;align-items:center;gap:8px;margin-top:4px;min-width:0}.profile-sensitive-line b{margin-top:0;flex:1;min-width:0}.profile-sensitive-line button{border:1px solid #cbd8d1;background:#fff;color:#075f49;padding:4px 8px;font-size:11px;white-space:nowrap;cursor:pointer}
.doc-choice-note{font-size:12px;color:#075f49;background:#edf7f3;border-radius:8px;padding:9px 11px}
.member-danger-zone{border:1px solid #efcbc7;background:#fff8f7;border-radius:12px;padding:16px}
.member-danger-zone h2{font-size:16px;color:#a54b45;margin:0 0 7px}.member-danger-zone p{font-size:12px;color:#766662;line-height:1.65}
.member-danger-zone button{border:0;background:#b95049;color:#fff;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:800}
@media(max-width:850px){.member-v31{grid-template-columns:1fr}.member-v31-side{position:static}.profile-data-grid{grid-template-columns:1fr}}

/* v32 validation / region selector / level rules / messaging */
.form-error{display:none;color:#b04f47;font-size:12px;margin-top:2px}.form-error.show{display:block}
.field-invalid{border-color:#d66!important;background:#fffafa!important}
.region-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.level-table{display:grid;gap:9px}.level-row{display:grid;grid-template-columns:90px 1fr 1.2fr;gap:12px;align-items:start;border:1px solid #e5ebe8;border-radius:10px;padding:12px}
.level-row strong{font-size:12px;color:#075f49}.level-row b{font-size:12px}.level-row p{font-size:12px;color:#6d7973;line-height:1.6;margin:3px 0 0}
.badge-rule-list{display:grid;gap:8px}.badge-rule{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:start;background:#f7faf8;border-radius:9px;padding:10px}
.badge-rule .icon{font-size:23px}.badge-rule b{font-size:12px}.badge-rule p{font-size:12px;color:#738079;margin:3px 0 0;line-height:1.55}
.dm-thread-list{display:grid;gap:8px}.dm-thread{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid #e5ebe8;border-radius:10px;padding:11px}
.dm-avatar{width:42px;height:42px;border-radius:50%;background:#edf7f3;color:#075f49;display:grid;place-items:center;font-weight:900}
.dm-thread b{font-size:12px}.dm-thread small{display:block;font-size:12px;color:#89958f;margin-top:2px}.dm-thread span{font-size:12px;color:#075f49;font-weight:800}
.dm-chat{display:grid;gap:8px;margin-top:12px}.dm-bubble{max-width:76%;padding:9px 11px;border-radius:12px;font-size:12px;line-height:1.55}.dm-bubble.mine{margin-left:auto;background:#075f49;color:#fff}.dm-bubble.theirs{background:#f1f5f3}
.dm-compose{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.dm-compose input{height:40px;border:1px solid #dfe7e3;border-radius:9px;padding:0 10px;font-size:12px}.dm-compose button{border:0;background:#075f49;color:#fff;border-radius:9px;padding:0 12px;font-size:12px;font-weight:800}
.message-user-btn{border:0;background:#edf7f3;color:#075f49;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800}
@media(max-width:700px){.region-grid,.level-row{grid-template-columns:1fr}.level-row{gap:6px}.dm-thread{grid-template-columns:42px 1fr}}

.test-safety-warning{max-width:1180px;margin:12px auto;padding:11px 14px;background:#fff5df;border:1px solid #efd7a2;border-radius:10px;color:#775e28;font-size:12px;line-height:1.6}
.test-safety-warning b{font-weight:900}

.backend-status{font-size:12px;color:#075f49;margin-top:5px}

/* v40 */
.cms-image-upload{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start}
.cms-image-preview{width:120px;aspect-ratio:1/1;border-radius:10px;border:1px solid #dfe7e3;background:#f4f7f5;overflow:hidden;display:grid;place-items:center}
.cms-image-preview img{width:100%;height:100%;object-fit:cover}.cms-image-preview span{font-size:12px;color:#8b9691}
.cms-upload-row{display:grid;gap:7px}.cms-upload-note{font-size:12px;color:#7d8983}
.news-card-v27 .cover img,.guide-feature-cover img,.event-detail-cover img{width:100%;height:100%;object-fit:cover}
.service-thumb{width:52px;height:52px;border-radius:10px;object-fit:cover;margin-bottom:10px}
.admin-member-grid{display:grid;gap:10px}.admin-member-card{background:#fff;border:1px solid #e5ebe8;border-radius:12px;padding:14px}
.admin-member-head{display:flex;justify-content:space-between;gap:12px}.admin-member-head h3{font-size:13px;margin:0}.admin-member-head small{font-size:12px;color:#86928d}
.admin-member-data{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.admin-member-data div{background:#f7faf8;border-radius:8px;padding:9px}.admin-member-data small{display:block;font-size:12px;color:#89958f}.admin-member-data b{display:block;font-size:12px;margin-top:3px;word-break:break-word}
.community-feed-v40{display:grid;gap:12px}.community-post-v40{background:#fff;border:1px solid #e5ebe8;border-radius:12px;padding:14px}
.community-post-v40 h2{font-size:15px;margin:5px 0}.community-post-v40 p{font-size:12px;color:#6e7a74}.community-author{display:flex;justify-content:space-between;gap:8px;align-items:center}
.community-form-v40{display:grid;gap:10px}.community-form-v40 input,.community-form-v40 select,.community-form-v40 textarea{border:1px solid #dce5e1;border-radius:9px;padding:10px;font-size:12px}.community-form-v40 textarea{min-height:180px}.community-form-v40 button{justify-self:start;border:0;border-radius:9px;background:#075f49;color:#fff;padding:9px 14px;font-size:12px;font-weight:800}
@media(max-width:800px){.cms-image-upload{grid-template-columns:1fr}.admin-member-data{grid-template-columns:1fr}}

/* v40.2 unified CMS */
.cms-image-upload{display:grid;grid-template-columns:130px 1fr;gap:14px;align-items:start}
.cms-image-preview{width:130px;aspect-ratio:1/1;border:1px solid #dfe7e3;border-radius:10px;background:#f5f8f6;overflow:hidden;display:grid;place-items:center}
.cms-image-preview img{width:100%;height:100%;object-fit:cover}
.cms-image-preview span{font-size:12px;color:#87938d}
.cms-upload-side{display:grid;gap:8px}
.cms-upload-note{font-size:12px;line-height:1.5;color:#7d8983}
.cms-thumb{width:54px;height:54px;border-radius:8px;object-fit:cover;background:#eef3f0}
.cms-slug-note{font-size:12px;color:#7d8983;margin-top:4px}
@media(max-width:700px){.cms-image-upload{grid-template-columns:1fr}.cms-image-preview{width:100%;max-width:180px}}

/* 后台内容运营与直观排版编辑器 */
.cms-hidden-field{display:none!important}
.cms-writing-modal .cms-modal-card{width:min(1280px,100%);max-height:calc(100vh - 32px)}
.cms-writing-modal .cms-editor{grid-template-columns:minmax(0,1fr);min-width:0;width:100%;padding:24px 28px;gap:17px}
.cms-writing-modal .cms-field{min-width:0}
.cms-writing-modal .cms-rich-surface{min-height:500px;padding:30px 38px;font-size:16px;line-height:1.8}
.cms-rich-editor{width:100%;min-width:0;border:1px solid #dfe7e3;border-radius:8px;background:#fff;overflow:hidden}
.cms-word-tabs{display:flex;gap:1px;padding:6px 12px 0;background:#f5f8f6;border-bottom:1px solid #dce7e1}
.cms-word-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#526159;padding:10px 18px;font-size:14px;cursor:pointer}
.cms-word-tabs button[aria-selected=true]{border-bottom-color:#075f49;color:#075f49;background:#fff;font-weight:700}
.cms-word-tabs button:focus-visible{outline:2px solid #075f49;outline-offset:-2px}
.cms-rich-toolbar{padding:8px 10px;border-bottom:1px solid #e8eeeb;background:#fff}
.cms-ribbon-panel{display:flex;align-items:stretch;flex-wrap:wrap;gap:0;min-height:100px}
.cms-ribbon-panel[hidden]{display:none}
.cms-ribbon-group{display:flex;flex-direction:column;justify-content:space-between;gap:9px;padding:6px 14px;flex:none;border-right:1px solid #dce7e1}
.cms-ribbon-group:last-child{border-right:0}
.cms-ribbon-controls{display:flex;flex-wrap:wrap;align-items:center;align-content:flex-start;gap:5px;max-width:420px}
.cms-font-group{max-width:400px}
.cms-ribbon-label{text-align:center;color:#718178;font-size:12px;letter-spacing:.04em}
.cms-rich-toolbar button,.cms-rich-toolbar select,.cms-color-tool{border:1px solid #dce7e1;background:#fff;color:#34483e;border-radius:4px;padding:7px 9px;font-size:13px;line-height:1.3;cursor:pointer;min-height:34px}
.cms-rich-toolbar select[data-format=font]{width:160px;max-width:160px;flex:none}.cms-rich-toolbar select[data-format=size]{width:56px}
.cms-rich-toolbar button:hover,.cms-rich-toolbar button:focus,.cms-rich-toolbar select:focus,.cms-rich-toolbar button[aria-pressed=true]{background:#eaf2ed;border-color:#8fbba8;color:#075f49;outline:none}
.cms-color-tool{display:inline-flex;align-items:center;gap:5px;cursor:default}.cms-color-tool input{width:25px;height:20px;border:0;background:none;padding:0;cursor:pointer}
.cms-word-history{display:flex;align-items:center;gap:6px;color:#728078;font-size:12px;min-height:25px}.cms-word-history>div{display:flex;gap:4px}
.cms-rich-toolbar .cms-color-swatch{width:22px;height:22px;min-height:22px;padding:0;border:1px solid #b9c8bf;border-radius:3px}
.cms-word-status{display:flex;justify-content:space-between;gap:12px;padding:7px 13px;background:#f8faf9;border-top:1px solid #e8eeeb;font-size:12px;color:#617269}
.cms-painter-active .cms-rich-surface{cursor:crosshair}
.cms-rich-surface{min-height:340px;padding:16px 18px;color:#26332e;font-size:15px;line-height:1.85;outline:none}
.cms-rich-surface:empty::before{content:attr(data-placeholder);color:#9aa7a1;pointer-events:none}
.cms-rich-surface h2,.cms-rich-surface h3{color:#075f49;line-height:1.35;margin:22px 0 8px}
.cms-rich-surface h2{font-size:21px}.cms-rich-surface h3{font-size:17px}
.cms-rich-surface p{margin:0 0 12px}.cms-rich-surface ul,.cms-rich-surface ol{padding-left:24px}.cms-rich-surface blockquote{border-left:3px solid #78a996;margin:14px 0;padding:6px 14px;background:#f3f8f5;color:#526159}.cms-rich-surface img{display:block;max-width:100%;height:auto;margin:14px 0}
.cms-rich-surface hr,.content-detail-body hr{border:0;border-top:1px solid #cfdcd4;margin:22px 0}.cms-rich-surface table,.content-detail-body table{width:100%;border-collapse:collapse;display:table;margin:18px 0}.cms-rich-surface th,.cms-rich-surface td,.content-detail-body th,.content-detail-body td{border:1px solid #dfe8e3;padding:9px 11px}.cms-rich-surface th,.content-detail-body th{background:#f0f5f2}.content-detail-body{overflow-wrap:anywhere}
.cms-rich-surface .info-table{width:100%;border-collapse:collapse;margin:16px 0;display:table}.cms-rich-surface .info-table th,.cms-rich-surface .info-table td{border:1px solid #dfe8e3;padding:8px 10px;text-align:left}.cms-rich-surface .info-table th{background:#eef6f1}.cms-rich-surface .info-flowchart{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:9px;padding:14px;margin:18px 0;background:#f6f9f7;border:1px solid #e1eae5}.cms-rich-surface .info-flowchart-step{padding:10px;background:#fff;border:1px solid #d9e5de;text-align:center}.cms-rich-surface .info-flowchart-step b{display:block;color:#087259}.cms-rich-surface .info-checklist,.cms-rich-surface .info-note{padding:12px 15px;background:#f6f9f7;margin:16px 0}.cms-rich-surface .info-sources{margin-top:24px;padding-top:14px;border-top:1px solid #e1eae5}
.cms-dashboard-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.cms-dashboard-heading h1{font-size:28px;margin:4px 0 6px;color:#172a24}.cms-dashboard-heading p{font-size:13px;color:#74817b;margin:0}.cms-eyebrow{font-size:11px;letter-spacing:.16em;color:#16745b;font-weight:800}.cms-dashboard-date{font-size:12px;color:#7d8983}
.cms-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}.cms-dashboard-stat{position:relative;background:#fff;border:1px solid #e4ebe7;border-top:3px solid #9fbdb1;border-radius:10px;padding:15px 16px}.cms-dashboard-stat.green{border-top-color:#178463}.cms-dashboard-stat.orange{border-top-color:#d99a43}.cms-dashboard-stat.blue{border-top-color:#5e91b6}.cms-dashboard-stat.purple{border-top-color:#8c7bb3}.cms-dashboard-stat small{display:block;color:#7d8983;font-size:12px}.cms-dashboard-stat b{display:block;color:#172a24;font-size:28px;line-height:1.15;margin:7px 0 4px}.cms-dashboard-stat span{color:#89958f;font-size:12px}
.cms-dashboard-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:18px}.cms-dashboard-grid-wide{grid-template-columns:1.1fr .9fr;margin-top:18px}.cms-panel-subtitle{display:block;margin-top:4px;color:#8b9691;font-size:12px;font-weight:400}.cms-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px}.cms-quick-actions a{display:grid;grid-template-columns:28px 1fr;column-gap:7px;align-items:center;padding:11px 10px;border:1px solid #e5ece8;color:#26332e;background:#fbfdfc}.cms-quick-actions a:hover{border-color:#9fc4b5;background:#f1f8f4}.cms-quick-actions b{grid-row:span 2;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5f2ec;color:#087052;font-size:16px}.cms-quick-actions span{font-size:12px;font-weight:800}.cms-quick-actions small{font-size:11px;color:#87938d}.cms-attention-list{padding:7px 16px 13px}.cms-attention-item{display:flex;gap:8px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #eef2ef;font-size:12px;line-height:1.5}.cms-attention-item:last-child{border-bottom:0}.cms-attention-item>span{color:#d08a31;font-size:19px;line-height:13px}.cms-attention-item a{color:#075f49}.cms-task-ok{color:#087052}.cms-health-table-wrap{overflow:auto}.cms-health-table th,.cms-health-table td{white-space:nowrap}.cms-health-value{display:inline-block;min-width:24px;padding:3px 6px;text-align:center;border-radius:4px}.cms-health-value.published{color:#087052;background:#eaf7f1}.cms-health-value.draft{color:#a86a18;background:#fff5e7}.cms-health-value.warning{color:#b64f43;background:#fff0ed}.cms-recent-list{padding:4px 16px 10px}.cms-recent-item{display:grid;grid-template-columns:9px 1fr auto;gap:9px;align-items:start;padding:10px 0;border-bottom:1px solid #eef2ef;color:#26332e}.cms-recent-item:last-child{border-bottom:0}.cms-recent-dot{width:7px;height:7px;border-radius:50%;background:#6aa58d;margin-top:6px}.cms-recent-item b{display:block;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.cms-recent-item small{display:block;margin-top:3px;color:#8b9691;font-size:11px}.cms-recent-item em{font-style:normal;color:#77847d;font-size:11px}.cms-empty,.cms-loading-line{padding:18px 0;color:#8b9691;font-size:12px}.cms-dashboard-note{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;margin-top:18px}.cms-dashboard-note b{font-size:13px}.cms-dashboard-note p{font-size:12px;line-height:1.7;color:#718078;margin:6px 0 0;max-width:760px}
@media(max-width:1000px){.cms-dashboard-grid,.cms-dashboard-grid-wide{grid-template-columns:1fr}.cms-dashboard-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cms-dashboard-heading{display:block}.cms-dashboard-date{margin-top:12px}.cms-dashboard-stats{grid-template-columns:1fr 1fr}.cms-quick-actions{grid-template-columns:1fr 1fr}.cms-dashboard-note{display:block}.cms-dashboard-note .cms-btn{display:inline-block;margin-top:12px}.cms-writing-modal{padding:8px}.cms-writing-modal .cms-modal-card{max-height:calc(100vh - 16px)}.cms-writing-modal .cms-editor{padding:15px;gap:12px}.cms-rich-toolbar{overflow-x:auto}.cms-ribbon-panel{flex-wrap:nowrap;width:max-content;min-height:110px}.cms-ribbon-group{padding:5px 9px}.cms-rich-toolbar button{padding:6px 5px}.cms-writing-modal .cms-rich-surface{min-height:300px;padding:15px;font-size:16px}}

/* v40.3 single database source */
.content-loading{font-size:12px;color:#77847e;padding:14px}
.article-cover img,.business-cover img,.hotspot-simple-card>img,.hotspot-simple-card>span{width:100%;height:100%;object-fit:cover}
.hotspot-simple-card>img{width:42px;height:42px;border-radius:9px}
.service-thumb{width:54px;height:54px;object-fit:cover;border-radius:10px}

/* =========================================================
   v40.4 Card readability + original home compact layout
   ========================================================= */

/* Content cards must NEVER put titles directly on top of uploaded images. */
.guide-feature-card,
.article-card,
.business-card,
.event-detail-card,
.news-card-v27 {
  overflow:hidden;
  background:#fff !important;
}

/* Media is its own block. */
.guide-feature-cover,
.article-cover,
.business-cover,
.event-detail-cover,
.news-card-v27 .cover {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#edf8f4,#fff7e9);
}

/* Uploaded photos can only fill the media block. */
.guide-feature-cover img,
.article-cover img,
.business-cover img,
.event-detail-cover img,
.news-card-v27 .cover img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Text area is forcibly white and sits above any inherited overlay styles. */
.guide-feature-body,
.article-card-body,
.business-body,
.event-detail-body,
.news-card-v27 .body {
  position:relative;
  z-index:2;
  display:block !important;
  background:#fff !important;
  color:#14241f !important;
  opacity:1 !important;
  visibility:visible !important;
}

.guide-feature-body h3,
.article-card-body h2,
.business-body h2,
.event-detail-body h2,
.news-card-v27 .body h2,
.guide-feature-body b,
.article-card-body b,
.business-body b,
.event-detail-body b,
.news-card-v27 .body b {
  color:#14241f !important;
  opacity:1 !important;
}

.guide-feature-body p,
.article-card-body p,
.business-body p,
.event-detail-body p,
.news-card-v27 .body p {
  color:#738079 !important;
  opacity:1 !important;
}

/* Ensure a clear white title panel under images even if older CSS uses overlays. */
.guide-feature-card .guide-feature-body{min-height:142px;padding:18px 20px 20px}
.article-card .article-card-body{min-height:160px;padding:18px 20px 20px}
.business-card .business-body{min-height:210px;padding:18px 20px 20px}
.news-card-v27 .body{min-height:155px;padding:18px 20px 20px}

/* Homepage original compact service / tool format, still fed by Supabase. */
.home-compact-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:16px !important;
}
.home-compact-grid .home-compact-card{
  min-height:180px;
  padding:22px 14px 18px !important;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  background:#fff !important;
  border:1px solid #dfe7e3;
  border-radius:14px;
  overflow:visible;
}
.home-compact-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:#edf7f3;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
  margin-bottom:14px;
}
.home-compact-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-compact-icon span{font-size:27px}
.home-compact-copy{
  background:#fff !important;
  width:100%;
  display:block;
}
.home-compact-copy b{
  display:block;
  font-size:15px;
  line-height:1.35;
  color:#14241f !important;
  margin-bottom:7px;
}
.home-compact-copy small{
  display:block;
  color:#89958f !important;
  font-size:12px;
  line-height:1.5;
}
.home-compact-copy p{
  margin:7px 0 0;
  color:#89958f !important;
  font-size:12px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Hero member quick access. */
.member-quick-card{
  display:block !important;
  padding:30px 30px 26px !important;
  background:rgba(255,255,255,.96) !important;
}
.member-quick-kicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  color:#087259;
  margin-bottom:8px;
}
.member-quick-card>h3{
  margin:0;
  font-size:27px;
  color:#14241f;
}
.member-quick-desc{
  margin:10px 0 18px;
  color:#6f7d76;
  font-size:12px;
  line-height:1.65;
}
.member-quick-benefits{
  display:grid;
  gap:9px;
  margin:0 0 20px;
}
.member-quick-benefits div{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#33453e;
}
.member-quick-benefits span{
  width:21px;height:21px;border-radius:50%;
  display:grid;place-items:center;
  background:#e9f6f1;color:#087259;font-weight:900;
}
.member-quick-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.member-quick-primary,
.member-quick-secondary{
  min-height:46px;
  border-radius:10px;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}
.member-quick-primary{background:#087259;color:#fff}
.member-quick-secondary{background:#fff;color:#087259;border:1px solid #a8bbb3}
.member-quick-note{
  display:block;
  color:#8a9690;
  font-size:12px;
  text-align:center;
  margin-top:12px;
}

@media(max-width:1100px){
  .home-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:680px){
  .home-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .member-quick-actions{grid-template-columns:1fr}
}

/* v40.5 news page follows life information template */
#newsGrid.info-grid .article-card{background:#fff}
#newsGrid .article-cover{min-height:180px}
#newsGrid .article-cover img{width:100%;height:100%;object-fit:cover;display:block}
#newsGrid .article-card-body{background:#fff!important}

/* v40.6 community guest preview */
.community-preview-card{cursor:pointer;text-decoration:none;color:inherit}
.community-preview-mask{
  margin-top:8px!important;
  padding:10px 12px;
  background:#f3f7f5;
  border-radius:8px;
  color:#78857f!important;
  font-size:12px!important;
}
.community-login-modal{
  position:fixed;inset:0;z-index:9999;
  background:rgba(10,25,19,.52);
  display:none;align-items:center;justify-content:center;
  padding:20px;
}
.community-login-modal.show{display:flex}
.community-login-dialog{
  width:min(430px,100%);
  background:#fff;border-radius:16px;
  padding:28px;position:relative;text-align:center;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.community-modal-close{
  position:absolute;right:14px;top:12px;
  width:32px;height:32px;border:0;background:#f3f6f4;
  border-radius:50%;font-size:18px;cursor:pointer;
}
.community-modal-icon{font-size:34px;margin-bottom:10px}
.community-login-dialog h2{margin:0 0 8px;font-size:21px}
.community-login-dialog p{margin:0 0 20px;color:#6f7c76;font-size:12px;line-height:1.7}
.community-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:560px){.community-modal-actions{grid-template-columns:1fr}}

/* v40.7 unified page header */
.dmzj-global-header{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:1000!important;
  background:#fff!important;
  width:100%!important;
}
.dmzj-global-header .navbar{display:flex!important;align-items:center!important}
.dmzj-global-header .brand{display:flex!important}
.dmzj-global-header .nav-links{display:flex!important}
.dmzj-global-header .nav-actions{display:flex!important}
.city-index-grid{margin-bottom:34px}
.city-event-group{margin:0 0 48px;scroll-margin-top:90px}
.city-group-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px}
.city-group-head small{color:#087259;font-weight:900;font-size:12px;letter-spacing:.08em}
.city-group-head h2{font-size:25px;margin:4px 0}
.city-group-head p{margin:0;color:#74817a;font-size:12px}
.city-group-head>a{color:#087259;font-size:12px;font-weight:800}
.city-db-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:950px){.city-db-events{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .dmzj-global-header .nav-links{display:none!important}
 .city-db-events{grid-template-columns:1fr}
 .city-group-head{align-items:start;flex-direction:column}
}

/* v40.40.32：城市图像、分类页留白、统一手机导航与工具图标 */
#top .city-event-card{
  min-height:165px;
  color:#fff!important;
  border:0!important;
  background-color:#31594d!important;
  background-size:cover!important;
  background-position:center!important;
  overflow:hidden;
  position:relative;
}
#top .city-event-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,35,29,.08),rgba(12,35,29,.72));z-index:0}
#top .city-event-card h3{position:relative;z-index:1;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.3)}
#top .city-event-card.city-kl{background-image:url("https://images.unsplash.com/photo-1602427384420-71c70e2b2a2f?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-selangor{background-image:url("https://images.unsplash.com/photo-1610008107654-7553226968a0?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-johor{background-image:url("https://images.unsplash.com/photo-1687861717577-8ff74dd61a47?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-penang{background-image:url("https://images.unsplash.com/photo-1531819177115-428566ccfb50?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-melaka{background-image:url("https://images.unsplash.com/photo-1654428168579-a8c200df6848?auto=format&fit=crop&w=1000&q=82")!important}

#top .utility-section{max-width:none}
#top .utility-heading{display:block;margin-bottom:19px}
#top .utility-heading .section-intro{margin:0}
#top .service-tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid #d9ded8;border-bottom:1px solid #d9ded8}
#top .service-tool-card{min-height:78px;padding:16px 14px;border:0!important;border-right:1px solid #d9ded8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;text-align:left}
#top .service-tool-card:last-child{border-right:0!important}
#top .service-tool-card span{width:auto;height:auto;margin:0;background:none!important;font-size:18px}
#top .service-tool-card b{font-size:14px;color:#2e453c;white-space:nowrap}
#top .join-box{display:grid!important;place-items:center!important}
#top .join-box-content{align-items:center!important;justify-content:center!important;text-align:center!important}
#top .join-box-content>div{text-align:center}

/* 分類頁取消封面圖，只保留簡潔的標題帶。首頁主視覺不受影響。 */
body:not(#top) .page-cover-media,
body:not(#top) .page-cover-shade{display:none!important}
body:not(#top) .events-hero,
body:not(#top) .info-hero,
body:not(#top) .directory-hero,
body:not(#top) .tools-hero,
body:not(#top) .forum-hero,
body:not(#top) .city-page-hero{
  min-height:0!important;
  padding:0!important;
  background:#f7f6f1!important;
  border-bottom:1px solid #dedbd2!important;
  color:#263f36!important;
}
body:not(#top) .page-cover-content,
body:not(#top) .info-hero>.container,
body:not(#top) .directory-hero>.container,
body:not(#top) .tools-hero>.container,
body:not(#top) .forum-hero>.container{padding:30px 0 26px!important}
body:not(#top) .page-cover-content h1,
body:not(#top) .info-hero h1,
body:not(#top) .directory-hero h1,
body:not(#top) .tools-hero h1,
body:not(#top) .forum-hero h1,
body:not(#top) .city-page-hero h1{color:#263f36!important}
body:not(#top) .page-cover-content p,
body:not(#top) .info-hero p,
body:not(#top) .directory-hero p,
body:not(#top) .tools-hero p,
body:not(#top) .forum-hero p,
body:not(#top) .city-page-hero p{color:#6f7b76!important}
body:not(#top) .page-cover-content .crumb,
body:not(#top) .page-cover-content .crumb a{color:#7a867f!important}

.city-category-bar{margin-bottom:25px}
.city-category-bar button{border-radius:2px!important;background:transparent;border:1px solid #cfc8bc;padding:8px 14px;font-size:12px;font-weight:700}
.city-category-bar button.active{background:var(--green);border-color:var(--green);color:#fff}
.city-event-group[hidden]{display:none!important}

.tools-page-grid .tool-entry[href$="tax.html"] .tool-entry-icon{font-size:0}
.tools-page-grid .tool-entry[href$="tax.html"] .tool-entry-icon::before{content:"🧮";font-size:22px}

.site-injected-action{display:none}
body>header.header .site-search-toggle{display:none}

@media(max-width:760px){
  #top .main-search{display:none!important}
  #top .hero-copy{padding-bottom:25px}
  #top .city-event-card{min-height:122px}
  #top .service-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  #top .service-tool-card{min-height:66px;padding:13px 8px;justify-content:flex-start;border-right:0!important;border-bottom:1px solid #d9ded8!important}
  #top .service-tool-card:nth-child(odd){border-right:1px solid #d9ded8!important}
  #top .service-tool-card:nth-last-child(-n+2){border-bottom:0!important}
  #top .join-box{min-height:230px!important}
  body>header.header .nav-actions{display:flex!important;align-items:center;gap:2px;min-width:0;margin-left:auto}
  body>header.header .nav-actions>a[href*="dashboard"]{display:none!important}
  body>header.header .nav-actions>a[href*="login.html"],
  body>header.header .nav-actions>a[href*="register.html"],
  body>header.header .nav-actions>.site-mobile-auth,
  body>header.header .nav-actions>.site-injected-action{display:grid!important;place-items:center;min-height:32px;padding:5px 8px;font-size:11px!important;white-space:nowrap}
  body>header.header .nav-actions .site-search-toggle,
  body>header.header .nav-actions>#navSearch{display:grid!important;place-items:center;width:30px;height:32px;padding:0;color:var(--green);background:transparent;border:0}
  body>header.header .nav-actions .site-search-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  body>header.header .site-menu-toggle{display:block!important;flex:0 0 auto;margin-left:2px;padding:4px 5px;font-size:22px;line-height:1;color:var(--green)}
  body:not(#top) .page-cover-content,
  body:not(#top) .info-hero>.container,
  body:not(#top) .directory-hero>.container,
  body:not(#top) .tools-hero>.container,
  body:not(#top) .forum-hero>.container{padding:24px 0 20px!important}
  body:not(#top) .forum-category-strip{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;white-space:nowrap;padding:11px 14px!important}
  body:not(#top) .forum-category-strip button{flex:0 0 auto!important;white-space:nowrap}
}

/* v40.8 - force same global header on city/info/service content pages */
body>header.header{display:block!important;visibility:visible!important;opacity:1!important;background:#fff!important;position:relative!important;z-index:9999!important;width:100%!important}
body>header.header .navbar,body>header.header .brand,body>header.header .nav-links,body>header.header .nav-actions{display:flex!important;visibility:visible!important;opacity:1!important}

/* v40.9 content interactions */
#contentInteractions{margin-top:28px;margin-bottom:38px}
.interaction-box{background:#fff;border:1px solid #dfe8e3;border-radius:16px;padding:22px}
.interaction-actions{display:flex;gap:10px;border-bottom:1px solid #edf1ef;padding-bottom:18px;margin-bottom:20px}
.interaction-actions button,.comment-compose button{border:1px solid #cddbd4;background:#fff;border-radius:10px;padding:10px 16px;font-weight:800;cursor:pointer}
.interaction-actions button.active{background:#e9f6f1;border-color:#087259;color:#087259}
.comment-area h3{font-size:20px;margin:0 0 14px}
.comment-item{padding:14px 0;border-bottom:1px solid #edf1ef}.comment-item b{margin-right:10px}.comment-item small{color:#8a9690}.comment-item p{margin:7px 0 0;white-space:pre-wrap}
.comment-compose{margin-top:18px}.comment-compose textarea{width:100%;min-height:100px;border:1px solid #d7e1dc;border-radius:10px;padding:12px;box-sizing:border-box;margin-bottom:10px}
.comment-compose button{background:#006b50;color:#fff;border-color:#006b50}.empty-comments{color:#849089}
.member-list{display:grid;gap:12px;margin-top:18px}.member-list .member-panel{display:block;text-decoration:none;color:inherit}

/* v40.10 member favorites */
.member-favorite-card{display:block!important;text-decoration:none!important;color:inherit!important}
.member-favorite-card small{display:block;color:#087259;font-weight:800;margin-bottom:7px}
.member-favorite-card h3{margin:0 0 8px;font-size:15px}
.member-favorite-card p{color:#7b8781;font-size:12px;margin:0 0 10px}
.member-favorite-card b{color:#087259;font-size:12px}

/* v40.11 favorites exact member-center layout */
.member-v31 .member-favorite-loading,.member-v31 .member-favorite-empty{padding:16px;color:#75827c}
.member-v31 .member-favorite-empty{display:grid;gap:4px}
.member-v31 .member-favorite-empty small{color:#8b9691}

/* v40.11 forum */
.forum-hero{background:linear-gradient(110deg,#edf7f2,#fff9ee);border-bottom:1px solid #e1e9e5;padding:34px 0}
.forum-hero>.container{display:flex;align-items:center;justify-content:space-between;gap:24px}
.forum-hero h1{font-size:34px;margin:4px 0 8px;color:#075f49}.forum-hero p{margin:0;color:#6f7c76;font-size:12px}
.forum-new-post{background:#067055;color:#fff;text-decoration:none;padding:12px 18px;border-radius:10px;font-weight:900;font-size:12px}
.forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;padding-top:24px;padding-bottom:60px}
.forum-main,.forum-side-card{background:#fff;border:1px solid #dfe7e3;border-radius:14px}
.forum-board-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #edf1ef}
.forum-board-head h2{margin:0;font-size:20px}.forum-board-head p{margin:5px 0 0;color:#7c8882;font-size:12px}
.forum-board-actions{display:flex;gap:6px}.forum-board-actions button,.forum-category-strip button{background:#fff;border:1px solid #d9e3de;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}
.forum-board-actions button.active,.forum-category-strip button.active{background:#087259;color:#fff;border-color:#087259}
.forum-category-strip{display:flex;gap:7px;padding:13px 18px;overflow-x:auto;border-bottom:1px solid #edf1ef}
.forum-table-head,.forum-topic-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 95px 140px;gap:12px;align-items:center}
.forum-table-head{padding:10px 18px;background:#f7faf8;color:#7b8781;font-size:12px;font-weight:800}
.forum-topic-row{padding:15px 18px;border-top:1px solid #edf1ef;text-decoration:none;color:inherit;transition:.15s}
.forum-topic-row:hover{background:#fbfdfc}
.forum-topic-title{min-width:0}.forum-topic-title b{display:inline;font-size:12px;margin-left:5px}.forum-topic-title small{display:block;color:#929d98;font-size:12px;margin-top:5px}
.forum-badge{display:inline-block;padding:3px 6px;border-radius:5px;background:#edf7f3;color:#087259;font-size:12px;font-weight:900}.forum-badge.featured{background:#fff0d5;color:#9c6510}
.forum-topic-author,.forum-topic-last{font-size:12px;color:#68766f}.forum-topic-count{text-align:center}.forum-topic-count b,.forum-topic-count small{display:block}.forum-topic-count b{font-size:12px}.forum-topic-count small{font-size:12px;color:#929d98;margin-top:3px}
.forum-side{display:grid;gap:16px;align-content:start}.forum-side-card{padding:17px}.forum-side-card h3{margin:0 0 13px;font-size:14px}
.forum-category-rank{display:grid;gap:4px}.forum-category-rank button{border:0;background:transparent;display:flex;justify-content:space-between;padding:8px 4px;cursor:pointer;border-bottom:1px solid #f0f3f1;font-size:12px}.forum-category-rank b{color:#087259}
.forum-side-title{display:flex;align-items:center;justify-content:space-between}.forum-side-title small{font-size:12px;color:#8c9792}
.forum-hot-rank{display:grid}.forum-hot-rank a{display:grid;grid-template-columns:24px 1fr;gap:3px 7px;padding:9px 0;border-bottom:1px solid #eff2f0;text-decoration:none;color:inherit}.forum-hot-rank em{grid-row:1/3;font-style:normal;width:20px;height:20px;border-radius:5px;background:#edf7f3;color:#087259;display:grid;place-items:center;font-weight:900;font-size:12px}.forum-hot-rank span{font-size:12px;line-height:1.4}.forum-hot-rank small{font-size:12px;color:#929d98}
.forum-rules p{font-size:12px;line-height:1.7;color:#77847e;margin:0}.forum-empty,.forum-loading{padding:28px;color:#7b8781}
@media(max-width:980px){.forum-layout{grid-template-columns:1fr}.forum-side{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.forum-hero>.container{align-items:flex-start;flex-direction:column}.forum-table-head{display:none}.forum-topic-row{grid-template-columns:1fr 80px}.forum-topic-author{display:none}.forum-topic-last{grid-column:1/2}.forum-topic-count{grid-row:1/3;grid-column:2}.forum-side{grid-template-columns:1fr}}

/* v40.12 forum thread */
.forum-thread-page{padding-top:18px;padding-bottom:55px;max-width:1050px}.thread-breadcrumb{display:flex;gap:8px;font-size:12px;color:#7d8983;margin:5px 0 12px}.thread-breadcrumb a{color:#087259;text-decoration:none}.thread-card,.thread-replies,.thread-reply-box{background:#fff;border:1px solid #dfe7e3;border-radius:13px}.thread-card{display:grid;grid-template-columns:175px 1fr;min-height:300px}.thread-author{background:#f7faf8;padding:22px 17px;border-right:1px solid #e8eeeb;display:flex;gap:10px;align-items:flex-start}.thread-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#087259;color:white;font-weight:900}.thread-author b,.thread-author small{display:block}.thread-author b{font-size:12px}.thread-author small{font-size:12px;color:#8b9691;margin-top:4px}.thread-content{padding:25px 28px}.thread-content h1{font-size:25px;margin:12px 0 22px}.thread-meta{display:flex;gap:8px;color:#7f8b85;font-size:12px}.thread-meta span:first-child{color:#087259;font-weight:900}.thread-body{font-size:12px;line-height:1.9;min-height:150px}.thread-actions{display:flex;justify-content:center;gap:8px;padding:15px}.thread-actions button{border:1px solid #d6e1dc;background:white;border-radius:9px;padding:9px 14px;cursor:pointer;font-weight:800}.thread-actions button.active{background:#eaf6f1;border-color:#087259;color:#087259}.thread-replies{overflow:hidden}.thread-replies-head{display:flex;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e8eeeb}.thread-replies-head h2{font-size:15px;margin:0}.thread-replies-head span{font-size:12px;color:#87928d}.thread-reply{display:grid;grid-template-columns:175px 1fr;border-bottom:1px solid #e8eeeb}.thread-reply-body{padding:20px 25px}.thread-reply-body>small{color:#9aa39f;font-size:12px}.thread-reply-body p{font-size:12px;line-height:1.8}.thread-reply-box{margin-top:15px;padding:20px}.thread-reply-box h3{margin-top:0}.thread-reply-box textarea,.thread-report-modal textarea,.thread-report-modal select{width:100%;box-sizing:border-box;border:1px solid #d6e1dc;border-radius:8px;padding:11px}.thread-reply-box textarea{min-height:100px}.thread-reply-box button,.thread-report-modal #reportSend{background:#087259;color:white;border:0;border-radius:8px;padding:10px 17px;margin-top:8px;font-weight:800}.thread-report-modal{position:fixed;inset:0;background:#0007;display:none;place-items:center;z-index:100}.thread-report-modal.show{display:grid}.thread-report-modal>div{width:min(440px,90vw);background:white;border-radius:14px;padding:22px;position:relative}.thread-report-modal #reportClose{position:absolute;right:14px;top:10px;border:0;background:none;font-size:22px}.thread-report-modal textarea{min-height:85px;margin-top:9px}@media(max-width:700px){.thread-card,.thread-reply{grid-template-columns:1fr}.thread-author{border-right:0;border-bottom:1px solid #e8eeeb;padding:13px}.thread-content{padding:18px}.thread-actions{flex-wrap:wrap}}

/* v40.13 forum article actions + edit */
.thread-content{display:flex;flex-direction:column}
.thread-body{flex:1}
.thread-content-footer{margin-top:30px;padding-top:15px;border-top:1px solid #edf1ef}
.thread-content-footer .thread-actions{justify-content:flex-start;padding:0;flex-wrap:wrap}
.thread-content-footer .thread-actions button{font-size:12px}
.thread-edited{color:#a08a62!important;margin-top:5px!important}
.thread-edit-dialog label{display:block;font-size:12px;font-weight:800;margin:12px 0 6px}
.thread-edit-dialog input,.thread-edit-dialog select,.thread-edit-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d6e1dc;border-radius:8px;padding:11px}
.thread-edit-dialog textarea{min-height:180px}
.thread-edit-dialog #editSave{background:#087259;color:#fff;border:0;border-radius:8px;padding:10px 17px;margin-top:12px;font-weight:800}

/* v40.14 blog-style community editor */
.community-blog-form>label{display:block;font-size:12px;font-weight:800;margin:14px 0 6px}
.blog-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:9px;background:#f5f8f6;border:1px solid #dce5e1;border-bottom:0;border-radius:10px 10px 0 0;position:sticky;top:78px;z-index:5}
.blog-editor-toolbar button{border:1px solid #d5dfda;background:#fff;border-radius:7px;padding:7px 9px;font-size:12px;font-weight:800}
.blog-editor-toolbar button:hover{border-color:#087259;color:#087259}
.blog-editor-toolbar span{width:1px;height:25px;background:#dce5e1;margin:0 2px}
.blog-editor{min-height:430px;background:#fff;border:1px solid #dce5e1;border-radius:0 0 10px 10px;padding:28px 34px;outline:none;font-size:12px;line-height:1.9}
.blog-editor:empty:before{content:attr(data-placeholder);color:#9aa49f}
.blog-editor h2,.thread-body h2{font-size:21px;margin:28px 0 12px;color:#18362d}
.blog-editor blockquote,.thread-body blockquote{margin:20px 0;padding:12px 16px;border-left:3px solid #087259;background:#f3f8f5;color:#58665f}
.blog-editor-help{font-size:12px;color:#7e8a84;margin:7px 0 16px}
.blog-image{margin:22px auto;max-width:100%;clear:both;transition:.15s}
.blog-image img{display:block;max-width:100%;height:auto;border-radius:10px}
.blog-image figcaption{text-align:center;color:#89958f;font-size:12px;margin-top:7px;min-height:14px}
.blog-image.align-left{float:left;width:min(46%,420px);margin:8px 24px 14px 0}
.blog-image.align-right{float:right;width:min(46%,420px);margin:8px 0 14px 24px}
.blog-image.align-center{width:min(78%,720px);margin:22px auto}
.blog-image.size-full{float:none!important;width:100%!important;max-width:none;margin:24px 0}
.blog-editor .blog-image.selected{outline:2px solid #087259;outline-offset:4px;border-radius:10px}
.thread-body:after,.blog-editor:after{content:"";display:block;clear:both}
.thread-body .blog-image figcaption{color:#89958f;font-size:12px;text-align:center}
.thread-edit-dialog{width:min(860px,94vw)!important;max-height:90vh;overflow:auto}
.thread-edit-dialog .blog-editor{min-height:330px;padding:22px}

/* v40.15 unified content detail layout */
.content-detail-page{padding:24px 0 54px}
.content-detail-page>.container{max-width:980px}
.content-detail-card{padding:26px 30px!important;overflow:hidden}
.content-detail-cover{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:12px;margin:0 0 20px}
.content-detail-card .crumb{font-size:12px;color:#7c8983;margin-bottom:13px}
.content-detail-card .crumb a{color:#087259;font-weight:800}
.content-detail-meta{display:flex;gap:10px;font-size:12px;color:#87938d;margin-bottom:8px}
.content-detail-meta span:first-child{font-weight:900;color:#087259}
.content-detail-card h1{font-size:29px;line-height:1.35;margin:8px 0 15px}
.content-detail-lead{font-size:12px;line-height:1.8;color:#5d6b65;background:#f6f9f7;border-left:3px solid #087259;padding:13px 15px;border-radius:0 8px 8px 0}
.content-detail-body{font-size:12px;line-height:2;color:#34443e;padding:8px 0 10px}
.content-detail-body h2{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:21px;line-height:1.45;color:#18362d;margin:30px 0 11px;padding-top:8px;border-top:1px solid #e8eeeb}
.content-detail-body h3{font-size:15px;line-height:1.5;color:#18362d;margin:22px 0 8px}
.content-detail-body p{margin:0 0 14px}
.content-detail-body ul,.content-detail-body ol{margin:10px 0 17px;padding-left:23px}
.content-detail-body li{margin:6px 0}
.content-detail-body a{color:#087259;text-decoration:underline;text-underline-offset:2px}
.content-detail-body strong{color:#18362d}
.content-detail-body .info-article-kicker{margin:0 0 20px;padding:11px 14px;background:#f2f6f3;color:#64736c;font-size:12px;line-height:1.8;border-left:3px solid #087259}
.content-detail-body .info-note{margin:18px 0;padding:14px 16px;background:#fff8ed;border:1px solid #ead8b7;color:#65543b;line-height:1.8}
.content-detail-body .info-checklist{margin:16px 0;padding:16px 18px;background:#f7faf8;border:1px solid #e1eae5}
.content-detail-body .info-checklist strong{display:block;margin-bottom:7px}
.content-detail-body .info-table{width:100%;border-collapse:collapse;margin:15px 0 20px;font-size:12px;line-height:1.65}
.content-detail-body .info-table th,.content-detail-body .info-table td{border:1px solid #dfe8e3;padding:10px 11px;text-align:left;vertical-align:top}
.content-detail-body .info-table th{background:#eef6f1;color:#18362d;font-weight:800}
.content-detail-body .blog-image{margin:22px auto 25px;max-width:100%;clear:both}
.content-detail-body .blog-image img{display:block;width:100%;max-width:720px;height:auto;max-height:380px;object-fit:cover;margin:auto;border-radius:3px}
.content-detail-body .blog-image figcaption{text-align:center;color:#89958f;font-size:12px;margin-top:7px;line-height:1.55}
.content-detail-body .info-flowchart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:18px 0 24px;padding:16px;background:#f6f9f7;border:1px solid #e1eae5}
.content-detail-body .info-flowchart-step{position:relative;min-height:88px;padding:11px 9px 9px;background:#fff;border:1px solid #d9e5de;text-align:center;line-height:1.55}
.content-detail-body .info-flowchart-step:not(:last-child)::after{content:"→";position:absolute;right:-14px;top:35px;color:#087259;font-size:17px;font-weight:800;z-index:2}
.content-detail-body .info-flowchart-step b{display:block;color:#087259;font-size:16px;margin-bottom:5px}
.content-detail-body .info-sources{margin-top:25px;padding-top:15px;border-top:1px solid #e8eeeb;color:#68766f;font-size:12px;line-height:1.8}
.content-detail-body .info-sources strong{display:block;color:#18362d;margin-bottom:6px}
@media(max-width:700px){
 .content-detail-body .info-flowchart{grid-template-columns:1fr;gap:8px;padding:12px}
 .content-detail-body .info-flowchart-step{min-height:auto;text-align:left;padding:10px 12px 10px 43px}
 .content-detail-body .info-flowchart-step b{position:absolute;left:13px;top:10px}
 .content-detail-body .info-flowchart-step:not(:last-child)::after{content:"↓";right:auto;left:50%;top:auto;bottom:-18px;font-size:15px}
 .content-detail-body .info-table{font-size:11px}
}
.content-detail-source{margin-top:22px;padding-top:14px;border-top:1px solid #e8eeeb;font-size:12px;color:#7c8983}
.content-detail-source a{color:#087259;font-weight:800}
.content-detail-interactions{margin-top:14px;margin-bottom:18px}
.interaction-box{background:#fff;border:1px solid #dfe7e3;border-radius:13px;overflow:hidden}
.interaction-actions{display:flex;gap:8px;padding:14px 18px;border-bottom:1px solid #edf1ef}
.interaction-actions button{border:1px solid #d6e1dc;background:#fff;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:800}
.interaction-actions button.active{background:#eaf6f1;border-color:#087259;color:#087259}
.comment-area{padding:18px}.comment-heading{display:flex;align-items:center;justify-content:space-between}.comment-heading h3{margin:0 0 14px;font-size:15px}.comment-heading span{font-size:12px;color:#89958f}
.comment-item{padding:12px 0;border-top:1px solid #edf1ef}.comment-item-head{display:flex;justify-content:space-between;gap:15px}.comment-item-head b{font-size:12px}.comment-item-head small{font-size:12px;color:#929d98}.comment-item p{font-size:12px;line-height:1.7;margin:7px 0 0}
.comment-compose{margin-top:14px}.comment-compose textarea{width:100%;min-height:90px;border:1px solid #d6e1dc;border-radius:8px;padding:10px;resize:vertical}.comment-compose button{margin-top:8px;background:#087259;color:#fff;border:0;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:800}
@media(max-width:700px){.content-detail-card{padding:19px!important}.content-detail-card h1{font-size:23px}}

/* v40.17 detail image standard: title -> image -> summary/body */
.content-detail-card h1 + .content-detail-cover{margin-top:18px}
.content-detail-cover{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:12px;margin-bottom:20px}

/* v40.40.46 生活指南卡片：图片优先，标题区保持简洁 */
.info-grid .article-card .article-cover{height:clamp(210px,23vw,270px);min-height:210px}
.info-grid .article-card .article-card-body{min-height:0;padding:15px 18px 18px}
.info-grid .article-card .article-card-body h2{margin:7px 0 0;line-height:1.5}
.info-grid .article-card .article-card-body p,.info-grid .article-card .article-meta{display:none!important}
.info-grid .article-card .article-meta{display:block!important;margin-top:8px;color:#8b9690}
@media(max-width:900px){.info-grid .article-card .article-cover{height:230px}}
@media(max-width:600px){.info-grid .article-card .article-cover{height:210px;min-height:210px}}

/* v40.18 profile form */
.profile-field-wide{grid-column:1/-1}
.profile-field-wide input+input{display:block}
#profileNotice.show{display:block;margin:12px 0}


/* v40.26 全站可读性基线：站内任何明确的小字号不得低于 12px。 */
small, .small, .text-small, .profile-help, .form-error, .copyright,
.member-v31-profile small, .favorite-list small {
  font-size: 12px !important;
}


/* v40.27 文章详情页统一互动列 */
.article-bottom-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid #e5e7eb;
}
.article-bottom-actions button{
  min-height:38px;
  padding:8px 12px;
  border:1px solid #d8dedb;
  border-radius:9px;
  background:#fff;
  color:#34413d;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
}
.article-bottom-actions button:hover,
.article-bottom-actions button.active{
  border-color:#087259;
  color:#075f49;
  background:#eef8f4;
}
.thread-report-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:1200;
  background:rgba(0,0,0,.42);
  place-items:center;
  padding:18px;
}
.thread-report-modal.show{display:grid}
.thread-report-modal>div{
  width:min(480px,100%);
  background:#fff;
  border-radius:14px;
  padding:22px;
  position:relative;
}
.thread-report-modal select,
.thread-report-modal textarea{
  width:100%;
  box-sizing:border-box;
  margin:8px 0;
  min-height:42px;
  font-size:12px;
}
.thread-report-modal textarea{min-height:100px;padding:10px}
.thread-report-modal>div>button{
  font-size:12px;
}


/* v40.28 评论 / 回复互动 */
.comment-item-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid #eef1ef;
}
.comment-item-actions button{
  border:0;
  background:transparent;
  color:#65706c;
  padding:5px 7px;
  border-radius:7px;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
}
.comment-item-actions button:hover,
.comment-item-actions button.active{
  background:#eef8f4;
  color:#075f49;
}


/* v40.29 会员社群编辑器工具列：按钮常态清楚可见，不再只在 hover 显示 */
.community-form-v40 .blog-editor-toolbar button,
.thread-edit-dialog .blog-editor-toolbar button,
.blog-editor-toolbar button{
  color:#34413d !important;
  background:#ffffff !important;
  border-color:#d5dfda !important;
  opacity:1 !important;
  visibility:visible !important;
  -webkit-text-fill-color:#34413d;
}
.community-form-v40 .blog-editor-toolbar button:hover,
.community-form-v40 .blog-editor-toolbar button:focus,
.thread-edit-dialog .blog-editor-toolbar button:hover,
.thread-edit-dialog .blog-editor-toolbar button:focus,
.blog-editor-toolbar button:hover,
.blog-editor-toolbar button:focus{
  color:#087259 !important;
  -webkit-text-fill-color:#087259;
  border-color:#087259 !important;
  background:#f2faf6 !important;
}
.blog-editor-toolbar button.is-active{
  color:#075f49 !important;
  -webkit-text-fill-color:#075f49;
  background:#e8f5ef !important;
  border-color:#087259 !important;
}

/* v40.29 使用者指定例外：会员社群顶部「主题分类」按钮统一为 10px */
.forum-category-strip button{
  font-size:10px !important;
}

/* v40.40.1 member avatar */
.avatar-setting-row{display:flex;align-items:center;gap:16px;padding:12px;border:1px solid #e2e9e5;border-radius:12px;background:#fbfdfc}
.profile-avatar-preview{width:76px;height:76px;flex:0 0 76px;border-radius:50%;display:grid;place-items:center;background:#edf7f3;font-size:34px;overflow:hidden;background-size:cover;background-position:center}
.avatar-setting-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.avatar-setting-actions .profile-help{flex-basis:100%}
.member-v31-avatar.has-image{background-size:cover;background-position:center;color:transparent}
@media(max-width:650px){.avatar-setting-row{align-items:flex-start}.profile-avatar-preview{width:64px;height:64px;flex-basis:64px}}

@media(max-width:650px){
  .member-v31-title>.btn-outline,.profile-actions>.btn-outline,.avatar-setting-actions>.btn-outline{display:inline-flex!important;align-items:center;justify-content:center}
  .member-v31-title>.btn-outline{flex:0 0 auto;min-height:38px;padding:8px 11px}
  .profile-actions{position:sticky;bottom:0;z-index:12;margin:4px -20px -20px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #e2e9e5;box-shadow:0 -8px 18px rgba(22,57,46,.08)}
  .profile-actions>*{flex:1;text-align:center;justify-content:center}
  .avatar-setting-actions>.btn-outline{min-height:36px;padding:7px 10px}
}

/* v40.40.3 社群头像同步与圆形修正 */
.thread-avatar{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px!important;aspect-ratio:1/1;border-radius:50%!important;overflow:hidden;padding:0!important;display:grid!important;place-items:center!important}
.thread-avatar-img{display:block;width:100%;height:100%;min-width:100%;min-height:100%;object-fit:cover;object-position:center;border-radius:50%}
.thread-avatar-default{display:grid;width:100%;height:100%;place-items:center;border-radius:50%}
.thread-author{min-width:0}.thread-author>div:last-child{min-width:0}
.member-v31-avatar,.member-avatar,.dm-avatar,.post-avatar{aspect-ratio:1/1;flex-shrink:0;overflow:hidden}
.member-v31-avatar{min-width:42px;min-height:42px}

/* v40.40.4 评论区头像同步补丁 */
.thread-reply .thread-avatar{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important}
.thread-reply .thread-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}

/* v40.40.5 member rank and badge identity */
.community-member-rank{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 3px;max-width:145px}
.community-member-rank>span:first-child,.forum-author-rank{font-size:12px;color:#087259;font-weight:800}
.community-earned-badge{font-size:12px;padding:2px 5px;border:1px solid #dbe8e2;border-radius:999px;background:#fff;color:#52635a;white-space:nowrap}
.forum-topic-author{display:flex;flex-direction:column;gap:2px}

/* v40.40.6 member deletion controls */
.member-item-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.member-delete-btn{border:1px solid #e1b8b8;background:#fff;color:#9c3434;border-radius:8px;padding:7px 11px;font-size:12px;font-weight:800;cursor:pointer}
.member-delete-btn:hover{background:#fff5f5}
.member-favorite-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border-bottom:1px solid #edf1ef;padding:10px 0}
.member-favorite-row:last-child{border-bottom:0}.member-favorite-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;padding:0!important;border:0!important}.member-favorite-link>div{min-width:0}
@media(max-width:650px){.member-favorite-row{grid-template-columns:1fr}.member-favorite-row>.member-delete-btn{justify-self:end}}

/* v40.40.8 delete actions */
.danger-lite{border-color:#e4baba!important;color:#9a3434!important;background:#fff!important}
.danger-lite:hover{background:#fff4f4!important}

/* v40.40.13 real photo covers */
.home-section-cover{position:relative;height:230px;margin:0 0 20px;border-radius:20px;overflow:hidden;background:#0b4d3d;box-shadow:0 16px 34px rgba(24,61,49,.12)}
.home-section-cover img{display:block;width:100%;height:100%;object-fit:cover}
.home-section-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,34,28,.78),rgba(5,34,28,.18) 70%,rgba(5,34,28,.28))}
.cover-copy{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:28px 32px;color:#fff}
.cover-copy>span{font:700 11px Inter,sans-serif;letter-spacing:1.7px;opacity:.82}
.cover-copy>strong{font-size:30px;line-height:1.2;margin-top:6px}
.cover-credit{display:block;margin-top:8px;font-size:10px;line-height:1.4;color:rgba(255,255,255,.78)}
.cover-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.join-box-photo{position:relative;overflow:hidden;background:#123f34!important;color:#fff}
.join-box-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.46}
.join-box-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,45,36,.9),rgba(5,45,36,.42))}
.join-box-content{position:relative;z-index:1;width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.join-box-photo h3,.join-box-photo p{color:#fff}
.join-box-photo .cover-credit{width:100%;margin-top:-4px}
.page-cover-media{position:absolute;inset:0;z-index:0}
.page-cover-media img{display:block;width:100%;height:100%;object-fit:cover}
.page-cover-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(4,35,29,.82),rgba(4,35,29,.35) 70%,rgba(4,35,29,.48))}
.events-hero,.info-hero,.directory-hero,.tools-hero,.forum-hero{position:relative;overflow:hidden}
.page-cover-content{position:relative;z-index:2;padding-top:58px!important;padding-bottom:42px!important;color:#fff}
.page-cover-content .crumb,.page-cover-content .crumb a{color:rgba(255,255,255,.8)}
.page-cover-content h1{color:#fff!important;margin-bottom:10px}
.page-cover-content p{color:rgba(255,255,255,.88)!important;max-width:760px}
.events-hero,.info-hero{padding:0}
body:has(#articleGrid) .info-hero{background:linear-gradient(90deg,rgba(4,35,29,.78),rgba(4,35,29,.25)),url("assets/cover-life-info.jpg") center/cover}
body:has(#articleGrid) .info-hero>.container{position:relative;z-index:2;padding-top:58px;padding-bottom:42px}
body:has(#articleGrid) .info-hero h1{color:#fff}
body:has(#articleGrid) .info-hero p{color:rgba(255,255,255,.88)}
.directory-hero{background:linear-gradient(90deg,rgba(4,35,29,.78),rgba(4,35,29,.28)),url("assets/cover-services.jpg") center/cover;padding:0}
.directory-hero>.container{position:relative;z-index:2;padding-top:58px;padding-bottom:42px}
.directory-hero h1{color:#fff}
.directory-hero p{color:rgba(255,255,255,.88)}
.tools-hero{background:linear-gradient(90deg,rgba(4,35,29,.78),rgba(4,35,29,.28)),url("assets/cover-tools.jpg") center/cover;padding:0}
.tools-hero>.container{position:relative;z-index:2;padding-top:58px;padding-bottom:42px}
.tools-hero h1{color:#fff}
.tools-hero p{color:rgba(255,255,255,.88)}
.forum-hero{background:linear-gradient(90deg,rgba(4,35,29,.82),rgba(4,35,29,.28)),url("assets/cover-community.jpg") center/cover;padding:0;border-bottom:0}
.forum-hero>.container{position:relative;z-index:2;padding-top:42px;padding-bottom:42px}
.forum-hero h1{color:#fff}
.forum-hero p{color:rgba(255,255,255,.88)}
.forum-hero .section-kicker{color:#cde8dc}
@media(max-width:650px){.home-section-cover{height:190px;border-radius:15px}.cover-copy{padding:22px}.cover-copy>strong{font-size:24px}.page-cover-content,.directory-hero>.container,.tools-hero>.container{padding-top:42px!important;padding-bottom:32px!important}.join-box-content{align-items:flex-start}}

/* v40.40.14 文青杂志风与移动版重整 */
:root{
  --green:#244d45;
  --green2:#3b6b5f;
  --orange:#b7684f;
  --ink:#25332f;
  --muted:#74807a;
  --line:#dcd7cc;
  --bg:#f1eee7;
  --panel:#fbfaf7;
  --shadow:0 18px 42px rgba(55,52,43,.09)
}
html,body{overflow-x:hidden}
body{background:var(--bg);color:var(--ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.7}
img{max-width:100%}
.container{width:min(1220px,calc(100% - 48px));max-width:1220px}
.header{background:rgba(247,244,237,.92);border-bottom:1px solid rgba(92,84,70,.16);box-shadow:0 5px 18px rgba(61,56,47,.04)}
.navbar{height:76px;gap:30px}
.brand{gap:9px}.brand-icon{width:39px;height:39px}.brand-name{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:23px;letter-spacing:-1px}.brand-name b{color:var(--green)}.brand-name strong{color:var(--orange)}
.nav-links{gap:23px}.nav-links a{font-size:13px;color:#55645e;font-weight:600}.nav-links a:hover,.nav-links a.active{color:var(--green)}.nav-links a.active:after{bottom:-27px;height:1px;background:var(--orange)}
.nav-actions{gap:8px}.btn{border-radius:3px;min-height:40px}.btn-outline{background:transparent;border-color:#9da9a2;color:var(--green)}.btn-register{background:var(--green);border-color:var(--green)}
.hero{min-height:560px;background:#29483f}
.hero-bg{background:url("assets/cover-city-life.jpg?v=40.40.17") center/cover no-repeat}
.hero-bg:after{background:linear-gradient(90deg,rgba(28,52,45,.92) 0%,rgba(36,70,60,.72) 42%,rgba(42,66,58,.2) 100%)}
.sun,.city,.tower{display:none}
.hero-inner{min-height:560px;grid-template-columns:minmax(0,1.05fr) minmax(300px,.55fr);gap:76px}
.hero-copy{padding:54px 0}.hero h1{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:clamp(44px,5.2vw,70px);font-weight:600;letter-spacing:-3px;line-height:1.25;color:#fff;margin:0 0 21px}.hero-copy p{color:rgba(255,255,255,.82);font-size:16px;line-height:1.9}
.main-search{max-width:660px;margin-top:30px;border-radius:3px;background:rgba(250,248,242,.96);box-shadow:0 18px 42px rgba(13,32,27,.2);padding:7px}.main-search input{font-size:14px;background:transparent}.main-search button{border-radius:2px;background:var(--orange);font-size:13px;padding:0 24px}
.member-quick-card{border:1px solid rgba(255,255,255,.45);border-radius:4px!important;background:rgba(250,248,242,.93)!important;box-shadow:0 24px 55px rgba(17,37,31,.2)!important;padding:28px!important}.member-quick-kicker,.section-kicker{color:var(--orange)}.member-quick-card>h3{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-weight:600}.member-quick-primary{background:var(--green);border-radius:2px}.member-quick-secondary{border-radius:2px;border-color:#acb7ae;color:var(--green)}
.city-events-section,.hotspot-section,.content-section,.service-tools-section,.tool-services-section{padding:42px 0}
.card-heading{margin:0 0 18px;align-items:end}.card-heading h3{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:28px;font-weight:600;letter-spacing:-.5px}.card-heading p{color:var(--muted);font-size:13px}.card-heading>a{color:var(--orange);font-size:13px}
.home-section-cover{height:216px;margin:0 0 25px;border-radius:3px;box-shadow:var(--shadow)}.home-section-cover::after{background:linear-gradient(90deg,rgba(18,39,34,.78),rgba(18,39,34,.2) 75%)}.cover-copy{padding:30px 34px}.cover-copy>span{font-size:11px;letter-spacing:2.2px}.cover-copy>strong{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:36px;font-weight:600}.cover-credit{display:none!important}
.city-event-card,.hotspot-simple-card,.guide-feature-card,.service-tool-card,.news-card-v27,.article-card,.business-card,.tool-entry,.content-card,.simple-page-card,.member-v31-card,.member-panel,.forum-main,.forum-side-card,.thread-card,.thread-replies,.thread-reply-box{background:rgba(251,250,247,.96);border-color:var(--line);border-radius:3px;box-shadow:0 7px 18px rgba(55,52,43,.035)}
.city-events-grid,.guide-feature-grid,.service-tool-grid{gap:15px}.city-event-card{min-height:175px;padding:20px}.city-event-card small,.guide-feature-body small,.service-tool-card b{color:var(--green2)}.city-event-card b,.guide-feature-body b,.hotspot-simple-card em{color:var(--orange)}
.guide-feature-card:hover,.city-event-card:hover,.service-tool-card:hover,.news-card-v27:hover,.business-card:hover,.tool-entry:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.service-tool-card{min-height:142px}.service-tool-card span,.life-tool-card span{background:#e9e4da}.hotspot-simple-card{padding:16px}.hotspot-simple-card span{background:#e9e4da}
.join-section{padding:0 0 42px}.join-box-photo{border-radius:3px!important;padding:34px!important}.join-box-photo::after{background:linear-gradient(90deg,rgba(26,53,45,.9),rgba(26,53,45,.48))}.join-box-photo h3{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:25px;font-weight:600}.join-box-photo p{color:rgba(255,255,255,.8)}.join-box-photo button{border-radius:2px;background:var(--orange)}
footer{background:#263b35;padding:36px 0 20px}.footer-links{gap:17px}.footer-links a:hover{color:#fff}.copyright{border-top-color:rgba(255,255,255,.17)}
.events-hero,.info-hero,.directory-hero,.tools-hero,.forum-hero{border-bottom:0;min-height:230px}.page-cover-content,.directory-hero>.container,.tools-hero>.container,.forum-hero>.container{padding-top:62px!important;padding-bottom:48px!important}.page-cover-content h1,.info-hero h1,.directory-hero h1,.tools-hero h1,.forum-hero h1{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-weight:600;letter-spacing:-1px}.page-cover-content p,.info-hero p,.directory-hero p,.tools-hero p,.forum-hero p{font-size:14px;line-height:1.8}
body:has(#articleGrid) .info-hero{background:linear-gradient(90deg,rgba(25,52,44,.88),rgba(25,52,44,.35)),url("assets/cover-life-info.jpg?v=40.40.17") center/cover}
.directory-hero{background:linear-gradient(90deg,rgba(25,52,44,.88),rgba(25,52,44,.35)),url("assets/cover-services.jpg?v=40.40.17") center/cover}.tools-hero{background:linear-gradient(90deg,rgba(25,52,44,.88),rgba(25,52,44,.35)),url("assets/cover-tools.jpg?v=40.40.17") center/cover}.forum-hero{background:linear-gradient(90deg,rgba(25,52,44,.9),rgba(25,52,44,.35)),url("assets/cover-community.jpg?v=40.40.17") center/cover}
.category-bar button,.news-tab,.events-filter button,.search-filter{border-radius:2px;background:transparent;border-color:#cfc8bc}.category-bar button.active,.news-tab.active,.events-filter button.active,.search-filter.active{background:var(--green);border-color:var(--green)}
.directory-search,.directory-select,.search-page-form input,.field-group input,.field-group select,.cms-search,.cms-field input,.cms-field select,.cms-field textarea{border-radius:2px;border-color:#cfc8bc;background:#fcfbf8}.directory-category,.tool-entry,.life-tool-card{border-radius:3px;border-color:var(--line);background:rgba(251,250,247,.96)}
.simple-page,.content-detail-page,.article-layout,.business-layout,.tool-page-wrap,.search-page-wrap,.info-wrap,.directory-wrap,.tools-index,.events-page{padding-top:42px}
.simple-page-card h1,.content-detail-card h1,.article-main h1,.article-news-card h1,.business-header h1,.tool-panel h1{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-weight:600}
.site-menu-toggle{color:var(--green);font-size:22px;padding:5px 7px}
.global-toast,.toast{border-radius:2px;background:#263b35}
.footer-links a[href*="photo-credits"]{display:none!important}

@media(max-width:980px){
  .navbar{gap:14px}.nav-actions{margin-left:auto}.nav-links{display:none!important;top:calc(100% + 1px);background:#f7f4ed;border-color:#d8d1c5;box-shadow:0 18px 30px rgba(44,42,34,.12)}.nav-links.mobile-open{display:flex!important}.nav-links a{font-size:14px;padding:11px 0}.nav-links a.active:after{display:none!important}
  .hero-inner{grid-template-columns:1fr;gap:12px}.hero-copy{padding:68px 0 18px}.member-quick-card{max-width:520px;margin-bottom:38px}
  .stage-grid,.tool-grid,.services-grid{grid-template-columns:repeat(3,1fr)}.city-events-grid,.service-tool-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .container{width:calc(100% - 28px)}.navbar{height:66px}.brand-icon{width:34px;height:34px}.brand-name{font-size:20px}.nav-actions{gap:6px}.nav-actions .btn{min-height:36px;padding:7px 10px;font-size:12px}.site-menu-toggle{margin-left:1px}
  .hero{min-height:0}.hero-inner{min-height:0}.hero-copy{padding:54px 0 22px}.hero h1{font-size:42px;letter-spacing:-2px}.hero-copy p{font-size:15px;line-height:1.8}.main-search{display:grid;grid-template-columns:34px 1fr;padding:6px;margin-top:24px}.search-svg{width:34px;height:45px}.main-search input{min-width:0;height:45px}.main-search button{grid-column:1/-1;width:100%;height:44px;margin-top:6px}.member-quick-card{width:100%;padding:24px!important;margin-bottom:28px}.member-quick-card>h3{font-size:24px}.member-quick-actions{grid-template-columns:1fr 1fr}
  .city-events-section,.hotspot-section,.content-section,.service-tools-section,.tool-services-section{padding:30px 0}.home-section-cover{height:164px;margin-bottom:19px;border-radius:2px}.cover-copy{padding:20px 22px}.cover-copy>strong{font-size:28px}.card-heading{align-items:flex-start;margin-bottom:14px}.card-heading h3{font-size:25px;margin-top:2px}.card-heading p{font-size:13px}.card-heading>a{font-size:12px;white-space:nowrap}
  .city-events-grid,.guide-feature-grid,.service-tool-grid,.stage-grid,.tool-grid,.services-grid{grid-template-columns:1fr 1fr;gap:10px}.city-event-card{min-height:160px;padding:16px}.city-event-card h3{font-size:17px}.city-event-card p,.city-event-card b,.service-tool-card small{font-size:13px}.service-tool-card{min-height:126px;padding:14px 10px}.service-tool-card span{width:40px;height:40px;font-size:20px}
  .guide-feature-grid{grid-template-columns:1fr}.guide-feature-cover{height:136px}.hotspot-simple-card{grid-template-columns:36px 1fr;padding:13px;gap:9px}.hotspot-simple-card span{width:36px;height:36px}.hotspot-simple-card b{font-size:13px}.hotspot-simple-card small{font-size:12px}.hotspot-simple-card em{display:none}
  .join-box-photo{padding:25px!important}.join-box-photo h3{font-size:23px}.join-box-content{align-items:flex-start}.join-box-photo button{width:100%}
  .page-cover-content,.directory-hero>.container,.tools-hero>.container,.forum-hero>.container{padding-top:45px!important;padding-bottom:35px!important}.events-hero,.info-hero,.directory-hero,.tools-hero,.forum-hero{min-height:190px}.page-cover-content h1,.info-hero h1,.directory-hero h1,.tools-hero h1,.forum-hero h1{font-size:34px}.page-cover-content p,.info-hero p,.directory-hero p,.tools-hero p,.forum-hero p{font-size:13px}
  .directory-toolbar,.search-page-form,.form-row{grid-template-columns:1fr}.directory-category-grid,.tools-page-grid{grid-template-columns:1fr 1fr}.business-grid,.info-grid,.news-grid-v27,.news-layout,.article-layout,.tool-page-layout,.member-v31,.forum-layout{grid-template-columns:1fr}.business-main,.tool-panel,.article-main,.simple-page-card,.content-detail-card{padding:20px}.business-header{align-items:flex-start;gap:12px}.business-header h1{font-size:24px}.business-side{position:static}.article-main h1,.article-news-card h1{font-size:25px}.article-main p,.content-detail-body,.article-news-card p{font-size:15px;line-height:1.9}.content-detail-lead{font-size:14px}.profile-grid,.phone-row,.member-profile-details{grid-template-columns:1fr}
  .forum-hero>.container{align-items:flex-start;flex-direction:column}.forum-new-post{width:100%;text-align:center}.thread-card,.thread-reply{grid-template-columns:1fr}.thread-author{border-right:0;border-bottom:1px solid var(--line);padding:14px}.thread-content{padding:20px}.thread-body{font-size:15px;line-height:1.9}.thread-actions{justify-content:flex-start;flex-wrap:wrap}.footer-content{align-items:flex-start;gap:18px}.footer-links{gap:12px 17px}.footer-links a{font-size:13px}
}
@media(max-width:760px){
  .city-events-grid,.service-tool-grid{grid-template-columns:1fr 1fr}
  .guide-feature-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .city-events-grid,.service-tool-grid,.stage-grid,.tool-grid,.services-grid{grid-template-columns:1fr}
}

/* v40.40.46 生活指南手机卡片改为置顶满宽图片，避免被全站缩图规则压成窄栏 */
@media(max-width:760px){
  .info-grid .article-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
  .info-grid .article-card .article-cover{width:100%;height:210px!important;min-height:210px!important}
  .info-grid .article-card .article-card-body{width:100%;padding:14px 16px 17px!important}
}

/* v40.40.20：以新聞媒體節奏重整手機版，並讓多元馬來西亞照片各自呼應主題 */
.home-section-cover img[src*="cover-city-life"]{object-position:center 48%}
.home-section-cover img[src*="cover-hotspots"]{object-position:center 52%}
.home-section-cover img[src*="cover-life-info"]{object-position:center 52%}
.home-section-cover img[src*="cover-services"]{object-position:center 56%}
.home-section-cover img[src*="cover-tools"]{object-position:center 58%}
.home-section-cover img[src*="cover-community"]{object-position:center 52%}
.page-cover-media img[src*="cover-city-life"]{object-position:center 47%}
.page-cover-media img[src*="cover-hotspots"]{object-position:center 48%}

@media(max-width:980px){
  body>header.header .nav-links,
  body>header.header.dmzj-global-header .nav-links,
  .dmzj-global-header .nav-links{display:none!important}
  body>header.header .nav-links.mobile-open,
  body>header.header.dmzj-global-header .nav-links.mobile-open,
  .dmzj-global-header .nav-links.mobile-open{display:flex!important}
}

@media(max-width:760px){
  body{background:#f3f0e9}
  body>header.header{position:sticky!important;top:0!important;background:rgba(248,245,238,.97)!important;border-bottom:1px solid #dcd5ca!important;box-shadow:0 5px 18px rgba(44,42,34,.08)!important}
  body>header.header .navbar{height:60px;padding:0 2px;gap:8px}
  body>header.header .brand{min-width:0;gap:7px}
  body>header.header .brand-icon{width:32px;height:32px}
  body>header.header .brand-name{font-size:19px;letter-spacing:-1px}
  body>header.header .nav-actions{margin-left:auto;gap:2px;min-width:0}
  body>header.header .nav-actions>a,
  body>header.header .nav-actions>button:not(#navSearch){display:none!important}
  body>header.header .nav-actions>#navSearch{display:grid!important;width:31px;height:34px;color:var(--green);padding:0}
  body>header.header .site-menu-toggle{display:block!important;flex:0 0 auto;margin-left:0;padding:4px 5px;font-size:23px;line-height:1;color:var(--green)}
  body>header.header .nav-links,
  body>header.header.dmzj-global-header .nav-links,
  .dmzj-global-header .nav-links{top:60px;left:0;right:0;padding:7px 14px 14px!important;background:#f8f5ee;border-top:1px solid #e1d9ce;border-bottom:1px solid #d7cfc3;box-shadow:0 16px 28px rgba(44,42,34,.14);gap:0!important;align-items:stretch!important}
  body>header.header .nav-links.mobile-open,
  body>header.header.dmzj-global-header .nav-links.mobile-open,
  .dmzj-global-header .nav-links.mobile-open{display:grid!important;grid-template-columns:1fr 1fr;max-height:calc(100vh - 60px);overflow:auto}
  body>header.header .nav-links a{width:auto;padding:11px 7px!important;border-bottom:1px solid #e5ded4;font-size:13px;color:#40544d}
  body>header.header .nav-links a:nth-last-child(-n+2){border-bottom:0}
  body>header.header .nav-links a.active{color:var(--orange)}

  .hero{min-height:0;background:#f3f0e9;overflow:visible}
  .hero-bg{position:relative;height:245px;background-position:center 52%;}
  .hero-bg:after{background:linear-gradient(180deg,rgba(20,49,41,.12),rgba(20,49,41,.15) 42%,#f3f0e9 100%)}
  .hero-inner{display:block;min-height:0;width:100%;margin-top:-35px;padding:0 14px}
  .hero-copy{padding:24px 18px 20px;background:rgba(248,245,238,.97);border-radius:14px 14px 0 0;box-shadow:0 -8px 25px rgba(44,42,34,.08)}
  .hero h1{font-size:35px;line-height:1.2;letter-spacing:-1.8px;margin-bottom:12px;color:var(--green)!important}
  .hero-copy p{font-size:14px;line-height:1.75;color:#5c6b64}
  .main-search{grid-template-columns:29px minmax(0,1fr) auto;gap:0;margin-top:18px;padding:4px;border-radius:8px;box-shadow:0 8px 22px rgba(45,63,53,.1)}
  .search-svg{width:29px;height:39px}.search-svg svg{width:19px;height:19px}
  .main-search input{height:39px;padding:0 6px;font-size:12px;min-width:0}
  .main-search button{height:39px;border-radius:5px;padding:0 13px;font-size:12px}
  .member-quick-card{display:block!important;margin:0 0 22px;max-width:none;width:100%;padding:18px!important;border-radius:4px!important;background:#fffdf9!important;border:1px solid #ded6ca!important;box-shadow:0 8px 20px rgba(44,42,34,.06)!important}
  .member-quick-card>h3{font-size:21px}.member-quick-desc{font-size:12px;line-height:1.65}.member-quick-benefits{gap:5px;margin:12px 0}.member-quick-benefits div{font-size:12px}.member-quick-actions{gap:7px}.member-quick-actions a{padding:10px 8px;font-size:12px}.member-quick-note{font-size:11px}

  .city-events-section,.hotspot-section,.content-section,.service-tools-section,.tool-services-section{padding:25px 0;border-top:1px solid #e2dbd0}
  .home-section-cover{height:126px;margin:0 0 13px;border-radius:4px;box-shadow:0 7px 17px rgba(44,42,34,.1)}
  .home-section-cover::after{background:linear-gradient(90deg,rgba(18,39,34,.8),rgba(18,39,34,.2) 90%)}
  .cover-copy{padding:17px 18px}.cover-copy>span{font-size:9px;letter-spacing:1.8px}.cover-copy>strong{font-size:24px;letter-spacing:-.5px}
  .card-heading{margin-bottom:13px;align-items:flex-end;gap:10px}.card-heading h3{font-size:20px;letter-spacing:-.3px}.card-heading p{font-size:12px;line-height:1.55;margin-top:2px}.card-heading>a{font-size:11px;padding-bottom:2px}
  .city-events-grid,.service-tool-grid{grid-template-columns:1fr 1fr;gap:9px}.city-event-card{min-height:148px;padding:14px}.city-event-card small{font-size:10px}.city-event-card h3{font-size:16px;margin:6px 0}.city-event-card p,.city-event-card b,.service-tool-card small{font-size:12px;line-height:1.55}.city-event-card b{padding-top:8px}.service-tool-card{min-height:122px;padding:13px 9px}.service-tool-card span{width:34px;height:34px;font-size:18px;margin-bottom:6px}
  .guide-feature-grid{grid-template-columns:1fr;gap:9px}.guide-feature-card{display:grid;grid-template-columns:108px 1fr;min-height:108px}.guide-feature-cover{height:100%!important;min-height:108px}.guide-feature-body{padding:13px}.guide-feature-body h3{font-size:15px}.guide-feature-body p{font-size:12px;line-height:1.55}.guide-feature-body b{font-size:11px}
  .hotspot-simple-list{gap:8px}.hotspot-simple-card{grid-template-columns:34px 1fr;padding:12px;gap:8px}.hotspot-simple-card b{font-size:12px;line-height:1.45}.hotspot-simple-card small{font-size:11px;line-height:1.5}
  .join-section{padding:0 0 28px}.join-box-photo{min-height:220px;padding:22px!important}.join-box-photo h3{font-size:21px}.join-box-photo p{font-size:12px;line-height:1.7}.join-box-photo button{font-size:12px;padding:10px}

  .events-hero,.info-hero,.directory-hero,.tools-hero,.forum-hero{min-height:164px!important;padding:0!important}
  .page-cover-content,.info-hero>.container,.directory-hero>.container,.tools-hero>.container,.forum-hero>.container{padding-top:37px!important;padding-bottom:25px!important}
  .page-cover-content h1,.info-hero h1,.directory-hero h1,.tools-hero h1,.forum-hero h1{font-size:29px;letter-spacing:-.8px;margin-bottom:6px}.page-cover-content p,.info-hero p,.directory-hero p,.tools-hero p,.forum-hero p{font-size:12px;line-height:1.65}
  .crumb{font-size:10px;margin-bottom:8px}
  .category-bar{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;margin-bottom:15px;scrollbar-width:none}.category-bar::-webkit-scrollbar{display:none}.category-bar button{flex:0 0 auto;font-size:11px;padding:7px 11px}
  .info-grid,.business-grid,.news-grid-v27{grid-template-columns:1fr!important;gap:10px}.article-card{display:grid;grid-template-columns:108px 1fr}.article-cover{height:100%;min-height:108px}.article-card-body{padding:13px}.article-card h2{font-size:14px}.article-card p{font-size:12px;line-height:1.55}
  .directory-toolbar{gap:8px;margin-bottom:14px}.directory-search,.directory-select{height:40px;font-size:12px}.directory-category-grid,.tools-page-grid{grid-template-columns:1fr 1fr!important;gap:8px}.directory-category{padding:12px 8px}.directory-category span{width:34px;height:34px;font-size:18px}.directory-category b{font-size:11px}.directory-category small{font-size:10px}
  .tools-page-grid .tool-entry{min-height:145px;padding:14px 10px}.tool-entry h2{font-size:15px}.tool-entry p{font-size:11px;line-height:1.55}.tool-entry b{font-size:11px}
  .simple-page,.content-detail-page,.article-layout,.business-layout,.tool-page-wrap,.search-page-wrap,.info-wrap,.directory-wrap,.tools-index,.events-page{padding-top:22px}
  footer{padding-top:28px}.footer-content{gap:12px}.footer-links{gap:10px 14px}
}

@media(max-width:380px){
  .brand-name{font-size:17px}.hero h1{font-size:32px}.hero-inner{padding:0 10px}.main-search button{padding:0 10px}.city-events-grid,.service-tool-grid,.directory-category-grid,.tools-page-grid{grid-template-columns:1fr}
  .guide-feature-card,.article-card{grid-template-columns:94px 1fr}.home-section-cover{height:118px}
}

/* v40.40.22 homepage editorial redesign: one clear title, varied layouts, mobile-first rhythm */
#top{background:#f7f6f1}
#top .hero{min-height:560px;background:#23483d}
#top .hero-bg{background:linear-gradient(90deg,rgba(21,51,42,.92) 0%,rgba(21,51,42,.62) 44%,rgba(21,51,42,.16) 100%),url("assets/cover-community.jpg?v=40.40.17") center 52%/cover no-repeat}
#top .hero-bg:after{display:none}
#top .hero-inner{min-height:560px;grid-template-columns:minmax(0,1.1fr) minmax(280px,.54fr);gap:72px;align-items:center}
#top .hero-copy{max-width:680px;padding:42px 0}
#top .hero-kicker{display:block;margin-bottom:18px;color:#e9ad61;font:700 11px/1.2 Inter,sans-serif;letter-spacing:2.6px}
#top .hero h1{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:clamp(42px,5vw,68px);font-weight:600;letter-spacing:-2.5px;line-height:1.22;color:#fff;margin-bottom:20px}
#top .hero-copy p{color:rgba(255,255,255,.84);font-size:16px;line-height:1.9}
#top .main-search{max-width:620px;margin-top:28px;border-radius:3px;box-shadow:0 15px 35px rgba(7,35,27,.22)}
#top .member-quick-card{align-self:center;max-width:360px;padding:26px!important;border-radius:3px!important;background:rgba(251,249,242,.94)!important;box-shadow:0 22px 48px rgba(7,35,27,.2)!important}
#top .member-quick-card>h3{font-size:24px;line-height:1.35}

#top .home-editorial-section{border-top:1px solid #e3e0d7}
#top .city-events-section{padding:62px 0 70px}
#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:68px 0}
#top .section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:25px}
#top .section-intro h2{margin:4px 0 5px;font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:32px;font-weight:600;line-height:1.2;letter-spacing:-.7px;color:#263f36}
#top .section-intro p{max-width:650px;margin:0;color:#6b7770;font-size:14px;line-height:1.75}
#top .section-intro>a{flex:0 0 auto;padding-bottom:4px;color:#a66032;font-size:13px;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(166,96,50,.45)}
#top .section-visual{overflow:hidden;border-radius:3px;background:#dfe8e0}
#top .section-visual img{display:block;width:100%;height:100%;object-fit:cover}
#top .section-visual-wide{height:270px;margin-bottom:25px}
#top .section-visual-wide img{object-position:center 52%}
#top .city-events-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#top .city-event-card{min-height:165px;padding:19px 17px;border:1px solid #e0e2da;border-radius:3px;background:#fff;box-shadow:none;transition:transform .18s ease,box-shadow .18s ease}
#top .city-event-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(40,65,54,.09)}
#top .city-event-card small{color:#718178;font:700 10px/1.3 Inter,sans-serif;letter-spacing:1.2px}
#top .city-event-card h3{margin:10px 0 7px;font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:21px;color:#263f36}
#top .city-event-card p{color:#6d7871;font-size:12px;line-height:1.65}
#top .city-event-card b{display:block;margin-top:15px;padding-top:10px;border-top:1px solid #e8ebe5;color:#a66032;font-size:11px}

#top .editorial-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:46px;align-items:start}
#top .editorial-layout-guides{grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr)}
#top .editorial-photo{height:370px;position:sticky;top:24px}
#top .editorial-photo img{object-position:center 52%}
#top .editorial-photo-guides img{object-position:center 48%}
#top .editorial-content{min-width:0}
#top .editorial-content .section-intro{margin-bottom:22px}
#top .hotspot-simple-list{gap:0;border-top:1px solid #dfe4de}
#top .hotspot-simple-card{padding:17px 0;border:0;border-bottom:1px solid #dfe4de;border-radius:0;background:transparent;grid-template-columns:44px 1fr auto;box-shadow:none}
#top .hotspot-simple-card b{font-size:14px;line-height:1.55;color:#2e453c}
#top .hotspot-simple-card small{color:#818c85;font-size:11px}
#top .hotspot-simple-card em{font-size:11px;font-style:normal;color:#a66032}
#top .guide-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#top .guide-feature-card{min-width:0;border:1px solid #e0e2da;border-radius:3px;background:#fff;box-shadow:none}
#top .guide-feature-cover{height:130px}
#top .guide-feature-body{padding:15px}
#top .guide-feature-body h3{font-size:16px;line-height:1.5;color:#2e453c}
#top .guide-feature-body p{font-size:12px;line-height:1.7;color:#717c75}

#top .utility-section{max-width:1060px}
#top .utility-heading{display:grid;grid-template-columns:112px minmax(0,1fr);gap:24px;align-items:center;margin-bottom:25px}
#top .utility-heading .section-intro{margin:0}
#top .utility-thumb{width:112px;height:112px;overflow:hidden;border-radius:3px;background:#dfe8e0}
#top .utility-thumb img{display:block;width:100%;height:100%;object-fit:cover}
#top .service-tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#top .service-tool-card{min-height:132px;padding:17px 13px;border:1px solid #e0e2da;border-radius:3px;background:#fff;box-shadow:none}
#top .service-tool-card span{width:34px;height:34px;font-size:18px;margin-bottom:9px}
#top .service-tool-card b{font-size:13px;color:#2e453c}
#top .service-tool-card small{font-size:11px;line-height:1.6;color:#7b867f}
#top .join-section{padding:0 0 58px}
#top .join-box{min-height:130px;padding:28px 34px;border-radius:3px;background:#23483d;box-shadow:none}
#top .join-box h3{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:25px;font-weight:600;color:#fff}
#top .join-box p{color:rgba(255,255,255,.78);font-size:13px}
#top .join-box button{border-radius:2px;background:#dfa265;color:#243e35}

@media(max-width:980px){
  #top .hero-inner{gap:34px}
  #top .city-events-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #top .service-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  #top .hero{min-height:0;background:#eef0e9;overflow:visible}
  #top .hero-bg{position:relative;height:238px;background-position:center 48%;}
  #top .hero-inner{display:block;min-height:0;width:100%;margin-top:-28px;padding:0 14px}
  #top .hero-copy{max-width:none;padding:24px 18px 20px;background:#f7f6f1;border-radius:12px 12px 0 0;box-shadow:0 -8px 25px rgba(38,63,54,.1)}
  #top .hero-kicker{font-size:9px;letter-spacing:1.8px;margin-bottom:12px}
  #top .hero h1{font-size:34px;letter-spacing:-1.5px;line-height:1.25;color:#263f36}
  #top .hero-copy p{font-size:14px;line-height:1.75;color:#627069}
  #top .main-search{margin-top:18px}
  #top .member-quick-card{max-width:none;margin:0 0 20px;padding:16px!important;background:#fffdf9!important;box-shadow:0 8px 20px rgba(44,42,34,.06)!important}
  #top .member-quick-card>h3{font-size:20px}
  #top .member-quick-desc{font-size:12px;line-height:1.6}
  #top .member-quick-benefits{display:none}
  #top .member-quick-actions{gap:7px;margin-top:12px}
  #top .member-quick-actions a{padding:10px 8px;font-size:12px}
  #top .city-events-section{padding:36px 0 42px}
  #top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:42px 0}
  #top .section-intro{align-items:flex-start;gap:12px;margin-bottom:18px}
  #top .section-intro h2{font-size:25px;letter-spacing:-.4px}
  #top .section-intro p{font-size:13px;line-height:1.65}
  #top .section-intro>a{font-size:11px;margin-top:5px}
  #top .section-visual-wide{height:180px;margin-bottom:18px}
  #top .city-events-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #top .city-event-card{min-height:142px;padding:14px 12px}
  #top .city-event-card h3{font-size:18px;margin:7px 0 5px}
  #top .city-event-card p{font-size:11px;line-height:1.55}
  #top .city-event-card b{margin-top:10px;padding-top:8px;font-size:10px}
  #top .editorial-layout,#top .editorial-layout-guides{display:flex;flex-direction:column;gap:22px}
  #top .editorial-photo,#top .editorial-photo-guides{position:static;width:100%;height:170px;order:-1}
  #top .editorial-layout-guides .editorial-photo{order:2}
  #top .editorial-content .section-intro{margin-bottom:17px}
  #top .hotspot-simple-card{grid-template-columns:36px 1fr auto;padding:14px 0}
  #top .hotspot-simple-card b{font-size:13px}
  #top .guide-feature-grid{grid-template-columns:1fr;gap:9px}
  #top .guide-feature-card{display:grid;grid-template-columns:102px 1fr;min-height:104px}
  #top .guide-feature-cover{height:100%;min-height:104px}
  #top .guide-feature-body{padding:12px}
  #top .guide-feature-body h3{font-size:14px}
  #top .guide-feature-body p{font-size:11px;line-height:1.55}
  #top .utility-heading{grid-template-columns:64px minmax(0,1fr);gap:14px;margin-bottom:18px}
  #top .utility-thumb{width:64px;height:64px}
  #top .utility-heading .section-intro{display:flex}
  #top .service-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #top .service-tool-card{min-height:118px;padding:13px 10px}
  #top .service-tool-card b{font-size:12px}
  #top .service-tool-card small{font-size:10px;line-height:1.5}
  #top .join-section{padding-bottom:32px}
  #top .join-box{min-height:0;padding:22px 18px;display:block}
  #top .join-box h3{font-size:21px}
  #top .join-box p{font-size:12px;line-height:1.65;margin-bottom:15px}
  #top .join-box button{font-size:12px;padding:10px 14px}
}

@media(max-width:400px){
  #top .hero h1{font-size:31px}
  #top .city-events-grid,#top .service-tool-grid{grid-template-columns:1fr}
  #top .city-event-card{min-height:0}
  #top .section-intro{display:block}
  #top .section-intro>a{display:inline-block;margin-top:10px}
}

/* v40.40.23 magazine direction: inspired by editorial news templates, with original brand and content */
body:has(.magazine-masthead){background:#fff}
body>header.header{background:#1d4b43!important;border-bottom:1px solid rgba(255,255,255,.15)!important}
body>header.header .brand-name b{color:#fff!important;-webkit-text-fill-color:#fff}
body>header.header .brand-name strong{color:#e3a064!important;-webkit-text-fill-color:#e3a064}
body>header.header .nav-links a{color:rgba(255,255,255,.86)!important}
body>header.header .nav-links a.active{color:#f0b06e!important}
body>header.header .nav-actions a{color:#fff!important}
body>header.header .nav-actions .btn-outline{border-color:rgba(255,255,255,.55)!important}
body>header.header .nav-actions .btn-register{background:#e3a064!important;color:#183d35!important}
body>header.header .icon-btn{color:#fff!important}
.magazine-masthead{display:block;background:#fff;border-bottom:1px solid #e6e7e2;padding:30px 0 26px}
.magazine-masthead-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}
.magazine-mark{color:#14213d;font-family:Impact,"Arial Black","Noto Sans SC",sans-serif;font-size:clamp(55px,8vw,106px);font-weight:900;line-height:.82;letter-spacing:-6px;white-space:nowrap}
.magazine-submark{color:#14213d;font:800 18px/1.05 Inter,"Noto Sans SC",sans-serif;letter-spacing:-.5px;text-align:left;padding-bottom:5px}

#top .hero{min-height:0;padding:0;background:#101b18;overflow:hidden}
#top .hero-bg{position:absolute;inset:0;min-height:490px;background:linear-gradient(90deg,rgba(13,39,33,.9) 0%,rgba(13,39,33,.58) 47%,rgba(13,39,33,.16) 100%),url("assets/cover-community.jpg?v=40.40.17") center 52%/cover no-repeat}
#top .hero-inner{min-height:490px;grid-template-columns:minmax(0,1.1fr) minmax(280px,.52fr);gap:66px;align-items:end;padding-bottom:42px}
#top .hero-copy{padding:0;max-width:720px}
#top .hero-kicker{color:#e7a263}
#top .hero h1{font-size:clamp(46px,5.8vw,82px);letter-spacing:-3.5px;line-height:1.13}
#top .hero-copy p{font-size:17px}
#top .main-search{max-width:650px;margin-top:27px}
#top .member-quick-card{align-self:end;max-width:360px;border-top:4px solid #e3a064!important;background:rgba(255,255,255,.94)!important;box-shadow:0 22px 55px rgba(4,24,18,.28)!important}
#top .member-quick-card>h3{color:#1d3f35}

#top .home-editorial-section{border-top:5px solid #1d4b43}
#top .city-events-section{padding:58px 0 66px}
#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:58px 0}
#top .section-intro{border-top:3px solid #1d4b43;padding-top:11px;margin-bottom:22px}
#top .section-intro h2{font-size:31px;color:#14213d;letter-spacing:-1px}
#top .section-intro p{color:#66736c;font-size:13px}
#top .section-intro>a{color:#1d4b43;border-bottom-color:#1d4b43}
#top .section-visual-wide{height:330px;margin-bottom:24px;border-radius:0}
#top .section-visual-wide img{object-position:center 52%}
#top .city-events-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
#top .city-event-card{border:0;border-top:2px solid #1d4b43;border-radius:0;padding:17px 3px 16px;background:#fff;box-shadow:none}
#top .city-event-card:hover{transform:none;box-shadow:none;background:#f7f8f4}
#top .city-event-card small{color:#1d4b43}
#top .city-event-card h3{font-family:"Noto Sans SC",sans-serif;font-size:20px;font-weight:800;color:#14213d}
#top .city-event-card p{font-size:12px;color:#6d7871}
#top .city-event-card b{color:#1d4b43}
#top .editorial-layout{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:42px}
#top .editorial-layout-guides{grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr)}
#top .editorial-photo{height:360px;position:relative;top:auto;border-radius:0}
#top .hotspot-simple-list{border-top:2px solid #1d4b43}
#top .hotspot-simple-card{padding:17px 0;border-bottom:1px solid #dfe4de}
#top .hotspot-simple-card b{color:#14213d;font-size:15px}
#top .hotspot-simple-card em{color:#1d4b43}
#top .guide-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#top .guide-feature-card{border:0;border-top:2px solid #1d4b43;border-radius:0;background:#fff}
#top .guide-feature-cover{height:154px}
#top .guide-feature-body{padding:13px 0 4px}
#top .guide-feature-body h3{color:#14213d;font-size:16px}
#top .guide-feature-body b{color:#1d4b43}
#top .utility-heading{border-top:3px solid #1d4b43;padding-top:11px}
#top .utility-heading .section-intro{border-top:0;padding-top:0}
#top .utility-thumb{border-radius:0}
#top .service-tool-card{border:0;border-top:2px solid #1d4b43;border-radius:0;padding:15px 3px;background:#fff}
#top .service-tool-card b{color:#14213d}
#top .join-box{border-radius:0;background:#1d4b43}

@media(max-width:760px){
  body>header.header .nav-links,
  body>header.header.dmzj-global-header .nav-links,
  .dmzj-global-header .nav-links{background:#1d4b43!important;border-color:rgba(255,255,255,.18)!important}
  body>header.header .nav-links a{color:#fff!important;border-color:rgba(255,255,255,.12)!important}
  .magazine-masthead{padding:23px 0 19px}
  .magazine-mark{font-size:47px;letter-spacing:-3px}
  .magazine-submark{font-size:12px;line-height:1.1;padding-bottom:2px}
  #top .hero{overflow:visible}
  #top .hero-bg{position:relative;min-height:0;height:224px;background-position:center 48%}
  #top .hero-inner{display:block;min-height:0;margin:0;padding:0}
  #top .hero-copy{padding:22px 16px 20px;background:#fff}
  #top .hero-kicker{font-size:9px;letter-spacing:1.6px;margin-bottom:10px}
  #top .hero h1{font-size:35px;line-height:1.2;letter-spacing:-1.8px;color:#14213d}
  #top .hero-copy p{font-size:13px;line-height:1.75;color:#66736c}
  #top .main-search{margin-top:17px;box-shadow:0 5px 15px rgba(24,57,47,.11)}
  #top .member-quick-card{margin:0 14px 22px;padding:13px 15px!important;border-top-width:3px!important;box-shadow:0 5px 14px rgba(24,57,47,.1)!important}
  #top .member-quick-card>h3{font-size:18px;margin-bottom:2px}
  #top .member-quick-desc,#top .member-quick-note{font-size:11px;line-height:1.5}
  #top .member-quick-benefits{display:none}
  #top .member-quick-actions{margin-top:9px}
  #top .member-quick-actions a{padding:9px 8px;font-size:11px}
  #top .home-editorial-section{border-top-width:4px}
  #top .city-events-section{padding:38px 0 45px}
  #top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:42px 0}
  #top .section-intro{padding-top:9px;margin-bottom:16px}
  #top .section-intro h2{font-size:25px}
  #top .section-intro p{font-size:12px;line-height:1.6}
  #top .section-visual-wide{height:190px;margin-bottom:19px}
  #top .city-events-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
  #top .city-event-card{min-height:150px;padding:13px 2px}
  #top .city-event-card h3{font-size:18px;margin:7px 0 5px}
  #top .city-event-card p{font-size:11px;line-height:1.55}
  #top .city-event-card b{font-size:10px;margin-top:9px;padding-top:8px}
  #top .editorial-layout,#top .editorial-layout-guides{display:flex;flex-direction:column;gap:22px}
  #top .editorial-photo,#top .editorial-photo-guides{width:100%;height:180px;order:-1}
  #top .editorial-layout-guides .editorial-photo{order:2}
  #top .hotspot-simple-list{border-top-width:2px}
  #top .hotspot-simple-card{grid-template-columns:32px 1fr auto;padding:14px 0}
  #top .hotspot-simple-card b{font-size:13px;line-height:1.45}
  #top .hotspot-simple-card small{font-size:10px}
  #top .guide-feature-grid{grid-template-columns:1fr;gap:0}
  #top .guide-feature-card{display:grid;grid-template-columns:112px 1fr;min-height:112px;padding:12px 0}
  #top .guide-feature-cover{height:100%;min-height:112px}
  #top .guide-feature-body{padding:0 0 0 12px}
  #top .guide-feature-body h3{font-size:14px;margin:4px 0}
  #top .guide-feature-body p{font-size:11px;line-height:1.5}
  #top .utility-heading{grid-template-columns:58px minmax(0,1fr);gap:13px;padding-top:9px}
  #top .utility-thumb{width:58px;height:58px}
  #top .utility-heading .section-intro{display:flex;border-top:0;padding-top:0}
  #top .service-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
  #top .service-tool-card{min-height:112px;padding:13px 2px}
  #top .service-tool-card b{font-size:12px}
  #top .service-tool-card small{font-size:10px}
  #top .join-box{padding:21px 18px}
}

@media(max-width:400px){
  .magazine-mark{font-size:40px}
  .magazine-submark{font-size:11px}
  #top .hero h1{font-size:31px}
  #top .city-events-grid,#top .service-tool-grid{grid-template-columns:1fr}
  #top .city-event-card{min-height:0}
}

/* v40.40.24 clean layout: quiet header, one visual language, no decorative rules */
body:has(#top){background:#f7f6f2}
body>header.header{background:#fff!important;border-bottom:1px solid #ebe9e3!important;box-shadow:none!important}
body>header.header .brand-icon{width:38px;height:38px;object-fit:contain;filter:none!important}
body>header.header .brand-name b{color:#1f4037!important;-webkit-text-fill-color:#1f4037}
body>header.header .brand-name strong{color:#bd6d3d!important;-webkit-text-fill-color:#bd6d3d}
body>header.header .nav-links a{color:#394b44!important}
body>header.header .nav-links a.active{color:#bd6d3d!important}
body>header.header .nav-actions a{color:#1f4037!important}
body>header.header .nav-actions .btn-outline{border-color:#d7ddd8!important}
body>header.header .nav-actions .btn-register{background:#1f4037!important;color:#fff!important}
body>header.header .icon-btn{color:#1f4037!important}

#top .hero{min-height:0;padding:0;background:#17382f;overflow:hidden}
#top .hero-bg{position:absolute;inset:0;min-height:540px;background:linear-gradient(90deg,rgba(12,36,30,.91) 0%,rgba(12,36,30,.63) 43%,rgba(12,36,30,.18) 100%),url("https://images.unsplash.com/photo-1531819177115-428566ccfb50?auto=format&fit=crop&w=1800&q=85") center 48%/cover no-repeat}
#top .hero-bg:after{display:none}
#top .hero-inner{min-height:540px;grid-template-columns:minmax(0,1.14fr) minmax(280px,.52fr);gap:56px;align-items:center;padding-top:28px;padding-bottom:28px}
#top .hero-copy{padding:0;max-width:720px;position:relative;z-index:1}
#top .hero-kicker{color:#edb17d;letter-spacing:2.2px}
#top .hero h1{font-size:clamp(44px,5.6vw,76px);letter-spacing:-3px;line-height:1.16}
#top .hero-copy p{font-size:16px;color:rgba(255,255,255,.82)}
#top .main-search{max-width:620px;margin-top:26px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
#top .member-quick-card{align-self:center;max-width:360px;border:0!important;border-top:0!important;border-radius:18px;background:rgba(255,255,255,.95)!important;box-shadow:0 20px 55px rgba(3,27,20,.26)!important}
#top .member-quick-card:before,#top .member-quick-card:after{display:none!important}
#top .member-quick-card>h3{color:#1f4037}

#top .home-editorial-section{border:0!important;border-top:0!important;background:#f7f6f2}
#top .city-events-section{padding:78px 0 84px}
#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:82px 0}
#top .section-intro,#top .utility-heading{border:0!important;border-top:0!important;padding-top:0!important}
#top .section-intro:before,#top .section-intro:after,#top .utility-heading:before,#top .utility-heading:after{display:none!important}
#top .section-intro{align-items:flex-end;margin-bottom:25px}
#top .section-intro h2{font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:34px;font-weight:600;color:#213d34;letter-spacing:-.8px}
#top .section-intro p{color:#717a74;font-size:14px;line-height:1.75}
#top .section-intro>a{color:#bd6d3d;border:0!important;padding:0 0 4px}
#top .section-visual-wide{height:370px;margin-bottom:28px;border:0;border-radius:20px;overflow:hidden;box-shadow:0 18px 50px rgba(32,55,46,.10)}
#top .section-visual-wide img,#top .editorial-photo img,#top .utility-thumb img{width:100%;height:100%;object-fit:cover;object-position:center}
#top .city-events-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#top .city-event-card{min-height:0;padding:20px 18px 21px;border:0;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(32,55,46,.07)}
#top .city-event-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(32,55,46,.12);background:#fff}
#top .city-event-card small{color:#bd6d3d}
#top .city-event-card h3{color:#213d34;font-family:"Noto Sans SC",sans-serif;font-size:19px}
#top .city-event-card p{color:#737d76;font-size:12px}
#top .city-event-card b{color:#1f4037}
#top .editorial-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:58px;align-items:start}
#top .editorial-layout-guides{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)}
#top .editorial-photo{height:392px;position:relative;top:auto;border:0;border-radius:20px;overflow:hidden;box-shadow:0 18px 50px rgba(32,55,46,.10)}
#top .editorial-photo img{object-position:center}
#top .hotspot-simple-list{display:grid;gap:12px;border:0!important}
#top .hotspot-simple-card{padding:15px 17px;border:0!important;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(32,55,46,.06)}
#top .hotspot-simple-card b{color:#213d34;font-size:15px}
#top .hotspot-simple-card em{color:#bd6d3d}
#top .guide-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#top .guide-feature-card{border:0!important;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(32,55,46,.06);overflow:hidden}
#top .guide-feature-cover{height:160px}
#top .guide-feature-body{padding:14px 15px 16px}
#top .guide-feature-body h3{color:#213d34;font-size:16px}
#top .guide-feature-body b{color:#bd6d3d}
#top .utility-heading{grid-template-columns:92px minmax(0,1fr);gap:20px;margin-bottom:23px}
#top .utility-thumb{width:92px;height:92px;border:0;border-radius:16px;overflow:hidden;box-shadow:0 10px 24px rgba(32,55,46,.10)}
#top .utility-heading .section-intro{margin:0}
#top .service-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#top .service-tool-card{min-height:126px;border:0!important;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(32,55,46,.06);padding:19px 17px}
#top .service-tool-card b{color:#213d34}
#top .service-tool-card small{color:#7a837d}
#top .join-box{border:0;border-radius:18px;background:#1f4037;box-shadow:0 16px 40px rgba(31,64,55,.15)}

@media(max-width:760px){
  body>header.header .nav-links,
  body>header.header.dmzj-global-header .nav-links,
  .dmzj-global-header .nav-links{background:#fff!important;border:0!important;box-shadow:0 12px 22px rgba(31,64,55,.10)!important}
  body>header.header .nav-links a{color:#394b44!important;border:0!important}
  #top .hero{overflow:visible}
  #top .hero-bg{position:relative;min-height:0;height:235px;background-position:center 48%}
  #top .hero-inner{display:block;min-height:0;margin:0;padding:0}
  #top .hero-copy{padding:24px 17px 20px;background:#fff}
  #top .hero-kicker{font-size:9px;letter-spacing:1.65px;margin-bottom:10px;color:#bd6d3d}
  #top .hero h1{font-size:34px;line-height:1.2;letter-spacing:-1.8px;color:#213d34}
  #top .hero-copy p{font-size:13px;line-height:1.75;color:#707a73}
  #top .main-search{margin-top:17px;box-shadow:0 5px 16px rgba(31,64,55,.11)}
  #top .member-quick-card{margin:0 15px 22px;padding:15px 16px!important;border:0!important;box-shadow:0 6px 17px rgba(31,64,55,.10)!important}
  #top .member-quick-card>h3{font-size:18px;margin-bottom:2px}
  #top .member-quick-desc,#top .member-quick-note{font-size:11px;line-height:1.5}
  #top .member-quick-benefits{display:none}
  #top .member-quick-actions{margin-top:10px}
  #top .home-editorial-section{border:0!important}
  #top .city-events-section{padding:45px 0 52px}
  #top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:48px 0}
  #top .section-intro{display:block;margin-bottom:18px}
  #top .section-intro h2{font-size:27px;margin-top:4px}
  #top .section-intro p{font-size:12px;line-height:1.65}
  #top .section-intro>a{display:inline-block;margin-top:9px;font-size:12px}
  #top .section-visual-wide{height:205px;margin-bottom:20px;border-radius:15px}
  #top .city-events-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  #top .city-event-card{padding:16px 14px;min-height:142px;border-radius:12px}
  #top .city-event-card h3{font-size:18px;margin:7px 0 5px}
  #top .city-event-card p{font-size:11px;line-height:1.55}
  #top .city-event-card b{font-size:10px;margin-top:9px;padding-top:0}
  #top .editorial-layout,#top .editorial-layout-guides{display:flex;flex-direction:column;gap:22px}
  #top .editorial-photo,#top .editorial-photo-guides{width:100%;height:220px;order:-1;border-radius:15px}
  #top .editorial-layout-guides .editorial-photo{order:2}
  #top .hotspot-simple-list{gap:9px}
  #top .hotspot-simple-card{grid-template-columns:32px 1fr auto;padding:13px 14px;border-radius:12px}
  #top .hotspot-simple-card b{font-size:13px;line-height:1.45}
  #top .hotspot-simple-card small{font-size:10px}
  #top .guide-feature-grid{grid-template-columns:1fr;gap:10px}
  #top .guide-feature-card{display:grid;grid-template-columns:116px 1fr;min-height:116px}
  #top .guide-feature-cover{height:100%;min-height:116px}
  #top .guide-feature-body{padding:14px 13px}
  #top .guide-feature-body h3{font-size:14px;margin:4px 0}
  #top .guide-feature-body p{font-size:11px;line-height:1.5}
  #top .utility-heading{grid-template-columns:62px minmax(0,1fr);gap:14px;margin-bottom:18px}
  #top .utility-thumb{width:62px;height:62px;border-radius:12px}
  #top .utility-heading .section-intro{display:flex}
  #top .service-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #top .service-tool-card{min-height:116px;padding:15px 13px;border-radius:12px}
  #top .service-tool-card b{font-size:12px}
  #top .service-tool-card small{font-size:10px;line-height:1.5}
  #top .join-box{padding:22px 18px}
}

@media(max-width:400px){
  #top .hero h1{font-size:31px}
  #top .city-events-grid,#top .service-tool-grid{grid-template-columns:1fr}
  #top .city-event-card{min-height:0}
}

/* v40.40.25 editorial blocks and compact service rows */
#top .city-events-section,#top .content-section,#top .tool-services-section{background:#fff}
#top .hotspot-section,#top .service-tools-section{background:#f0f1f0}
#top .utility-heading{display:block;grid-template-columns:none;margin-bottom:25px}
#top .utility-heading .section-intro{display:flex;align-items:flex-end;justify-content:space-between;margin:0}
#top .service-tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#top .service-tool-card{min-height:84px;padding:14px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;border:0!important;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(32,55,46,.055)}
#top .service-tool-card span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font-size:17px;background:#ebe9e2}
#top .service-tool-card b{font-size:12px;white-space:nowrap}
#top .service-tool-card small{display:none}

@media(max-width:760px){
  #top .utility-heading{margin-bottom:20px}
  #top .utility-heading .section-intro{display:block}
  #top .service-tool-grid{display:flex;grid-template-columns:none;gap:10px;overflow-x:auto;overflow-y:hidden;padding:1px 2px 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  #top .service-tool-card{flex:0 0 118px;min-height:84px;padding:13px 8px;scroll-snap-align:start}
  #top .service-tool-card b{font-size:12px}
}

/* v40.40.26 tighter homepage rhythm and post-first content */
#top .city-events-section,#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:40px 0}
#top .home-post-section,#top .utility-section{width:min(1220px,calc(100% - 48px));max-width:1220px;margin-left:auto;margin-right:auto}
#top .utility-section{max-width:1220px}
#top .section-intro{margin-bottom:16px}
#top .home-post-section .section-intro p{display:none}
#top .hotspot-simple-list{border:0!important;gap:10px}
#top .hotspot-simple-card{grid-template-columns:1fr auto;padding:14px 16px;border:0!important;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(32,55,46,.055)}
#top .guide-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#top .home-post-card{min-width:0;display:flex;flex-direction:column;padding:18px 19px;border:0;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(32,55,46,.055);transition:transform .18s ease,box-shadow .18s ease}
#top .home-post-card:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(32,55,46,.10)}
#top .home-post-card small{color:#bd6d3d;font-size:11px;font-weight:800}
#top .home-post-card h3{margin:7px 0 6px;color:#213d34;font-size:16px;line-height:1.45}
#top .home-post-card p{margin:0;color:#747e77;font-size:12px;line-height:1.65}
#top .home-post-card b{margin-top:13px;color:#bd6d3d;font-size:11px}
#top .join-section{padding-bottom:36px}

@media(max-width:760px){
  #top .city-events-section,#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:32px 0}
  #top .home-post-section,#top .utility-section{width:calc(100% - 28px);max-width:none}
  #top .hotspot-simple-card{grid-template-columns:1fr auto}
  #top .section-intro{margin-bottom:13px}
  #top .guide-feature-grid{grid-template-columns:1fr;gap:9px}
  #top .home-post-card{padding:15px 16px;border-radius:11px}
  #top .home-post-card h3{font-size:14px;margin:5px 0 4px}
  #top .home-post-card p{font-size:11px;line-height:1.55}
  #top .home-post-card b{margin-top:9px;font-size:10px}
}

/* v40.40.30：首页内容改为文章优先、全站直角、移动端新闻流布局 */
body *:not(.brand-icon):not(.profile-avatar-preview):not(.member-v31-avatar):not(.thread-avatar):not(.thread-avatar-img){border-radius:0!important}

#top .latest-home-card{align-self:center;max-width:390px;width:100%;padding:24px!important;border:1px solid rgba(255,255,255,.45)!important;border-top:4px solid #e3a064!important;background:rgba(255,255,255,.95)!important;box-shadow:0 22px 55px rgba(4,24,18,.28)!important}
#top .latest-home-kicker{color:#a66032;font:700 11px/1.2 Inter,"Noto Sans SC",sans-serif;letter-spacing:2px}
#top .latest-home-card>h3{margin:10px 0 12px;color:#1d3f35;font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:25px;font-weight:600}
#top .latest-home-list{display:grid;gap:0;border-top:1px solid #dfe4de}
#top .latest-home-item{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:12px 0;border-bottom:1px solid #dfe4de;color:#263f36;text-decoration:none}
#top .latest-home-item small{grid-column:1/-1;color:#a66032;font-size:11px;font-weight:700}
#top .latest-home-item b{font-size:13px;line-height:1.5;font-weight:700}
#top .latest-home-item time{align-self:end;color:#87918b;font-size:10px;white-space:nowrap}
#top .latest-home-more{display:inline-block;margin-top:14px;color:#1d4b43;font-size:12px;font-weight:700;text-decoration:none}

#top .city-event-card{min-height:150px;padding:18px;border:1px solid #d9ded8!important;background:#fff;display:grid;place-items:center;text-align:center;box-shadow:none!important}
#top .city-event-card small,#top .city-event-card p,#top .city-event-card b{display:none!important}
#top .city-event-card h3{margin:0;font-family:"Noto Sans SC",sans-serif;font-size:21px;font-weight:700;color:#14213d}
#top .city-event-card:hover{transform:none!important;background:#f1f3ee;box-shadow:none!important}

#top .join-section{padding:0 0 54px;background:#f7f6f1}
#top .join-box{min-height:270px;padding:30px 32px!important;background:linear-gradient(180deg,rgba(20,55,45,.66),rgba(20,55,45,.84)),url("assets/cover-community.jpg") center 48%/cover no-repeat!important;color:#fff;display:grid;place-items:center;box-shadow:none!important}
#top .join-box-content{position:relative;z-index:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;text-align:center}
#top .join-box-content h3{margin:0 0 4px;color:#fff;font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif;font-size:28px;font-weight:600}
#top .join-box-content p{margin:0;color:rgba(255,255,255,.82);font-size:14px}
#top .join-box-content button{background:#e3a064;color:#183d35;border:0;padding:11px 18px;font-size:12px;font-weight:800}

/* Real-photo page covers with calmer editorial crops. */
.events-hero:not(:has(.page-cover-media)){background:linear-gradient(90deg,rgba(20,55,45,.86),rgba(20,55,45,.38)),url("https://images.unsplash.com/photo-1602427384420-71c70e2b2a2f?auto=format&fit=crop&w=1800&q=84") center/cover!important}
body:has(#articleGrid) .info-hero{background:linear-gradient(90deg,rgba(20,55,45,.84),rgba(20,55,45,.34)),url("https://images.unsplash.com/photo-1727271551315-9d61f124460f?auto=format&fit=crop&w=1800&q=84") center 52%/cover!important}
body:has(#businessGrid) .directory-hero{background:linear-gradient(90deg,rgba(20,55,45,.84),rgba(20,55,45,.34)),url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=84") center/cover!important}
body:has(#toolGrid) .tools-hero{background:linear-gradient(90deg,rgba(20,55,45,.84),rgba(20,55,45,.34)),url("https://images.unsplash.com/photo-1672564612936-3cdc14ed499e?auto=format&fit=crop&w=1800&q=84") center 54%/cover!important}
body:has(#forumList) .forum-hero{background:linear-gradient(90deg,rgba(20,55,45,.84),rgba(20,55,45,.34)),url("https://images.unsplash.com/photo-1725075164176-044042e9046c?auto=format&fit=crop&w=1800&q=84") center/cover!important}
.city-page-hero{background:linear-gradient(90deg,rgba(20,55,45,.84),rgba(20,55,45,.34)),url("https://images.unsplash.com/photo-1602427384420-71c70e2b2a2f?auto=format&fit=crop&w=1800&q=84") center/cover!important}

@media(max-width:760px){
  #top .hero-bg{height:190px;background-position:center 48%}
  #top .hero-inner{margin-top:-28px;padding:0 12px}
  #top .hero-copy{padding:20px 15px 18px;border:1px solid #d9ded8!important;box-shadow:none!important}
  #top .hero h1{font-size:32px;line-height:1.2}
  #top .hero-copy p{font-size:13px;line-height:1.65}
  #top .main-search{margin-top:15px;box-shadow:none!important;border:1px solid #d9ded8}
  #top .latest-home-card{max-width:none;margin:0;padding:16px!important;border:1px solid #d9ded8!important;border-top:3px solid #e3a064!important;box-shadow:none!important}
  #top .latest-home-card>h3{font-size:21px;margin:7px 0 9px}
  #top .latest-home-item{padding:10px 0}
  #top .latest-home-item b{font-size:12px}
  #top .city-events-section,#top .hotspot-section,#top .content-section,#top .service-tools-section,#top .tool-services-section{padding:24px 0;border-top:1px solid #d9ded8}
  #top .section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:8px;border-top:2px solid #1d4b43!important;margin-bottom:14px}
  #top .section-intro h2{font-size:23px;margin:3px 0 0}
  #top .section-intro>a{font-size:14px;margin:0;padding:8px 0;color:#1d4b43}
  #top .city-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;margin:0;padding:0;scroll-snap-type:none}
  #top .city-event-card{min-width:0;min-height:110px;padding:14px;scroll-snap-align:none;border:0!important}
  #top .city-event-card:last-child{grid-column:1/-1;border:0!important}
  #top .city-event-card h3{font-size:18px}
  #top .hotspot-simple-list{border-top:2px solid #1d4b43!important}
  #top .hotspot-simple-card{padding:13px 0;border-bottom:1px solid #d9ded8!important;background:transparent;box-shadow:none!important}
  #top .hotspot-simple-card b{font-size:15px;line-height:1.5}
  #top .guide-feature-grid{display:grid;grid-template-columns:1fr;gap:0}
  #top .home-post-card{padding:14px 0;border-bottom:1px solid #d9ded8;box-shadow:none!important;background:transparent}
  #top .home-post-card h3{font-size:16px;line-height:1.5}
  #top .home-post-card p{font-size:12px}
  #top .service-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
  #top .service-tool-card{min-height:74px;padding:12px 0;flex-direction:row;justify-content:flex-start;gap:8px;border:0!important;border-bottom:1px solid #d9ded8!important;background:transparent;box-shadow:none!important;text-align:left}
  #top .service-tool-card span{width:28px;height:28px;flex:0 0 28px;font-size:15px;margin:0}
  #top .service-tool-card b{font-size:14px;white-space:normal}
  #top .join-section{padding:0 0 28px}
  #top .join-box{min-height:230px;padding:24px 16px!important}
  #top .join-box-content h3{font-size:23px}
  #top .join-box-content p{font-size:14px;line-height:1.65}

  /* Mobile news-site rhythm: short cover, horizontal categories, single-column stories. */
  .page-cover-content,.info-hero>.container,.directory-hero>.container,.tools-hero>.container,.forum-hero>.container{padding-top:32px!important;padding-bottom:27px!important}
  .events-hero,.info-hero,.directory-hero,.tools-hero,.forum-hero{min-height:154px!important}
  .page-cover-content h1,.info-hero h1,.directory-hero h1,.tools-hero h1,.forum-hero h1{font-size:30px}
  .page-cover-content p,.info-hero p,.directory-hero p,.tools-hero p,.forum-hero p{font-size:12px;line-height:1.6}
  .category-bar,.news-tabs,.events-filter{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;margin-bottom:14px;padding-bottom:0}
  .category-bar button,.news-tab,.events-filter button{flex:0 0 auto;margin-right:8px;padding:8px 11px;font-size:11px;border:1px solid #cfd7d1!important}
  .info-wrap,.news-page,.directory-wrap,.tools-index,.events-page{padding-top:18px!important}
  .info-grid,.news-grid-v27,.business-grid,.tools-page-grid{display:grid;grid-template-columns:1fr!important;gap:0}
  .article-card,.news-card-v27,.business-card,.tool-entry{display:grid;grid-template-columns:104px 1fr;min-height:104px;border:0!important;border-bottom:1px solid #d9ded8!important;background:transparent;box-shadow:none!important}
  .article-cover,.news-card-v27 .cover,.business-cover{height:100%;min-height:104px}
  .article-card-body,.news-card-v27 .body,.business-body,.tool-entry{padding:12px}
  .article-card h2,.news-card-v27 h2,.business-card h2,.tool-entry h2{font-size:14px;margin:3px 0 5px;line-height:1.45}
  .article-card p,.news-card-v27 p,.business-card p,.tool-entry p{font-size:11px;line-height:1.55;margin:0}
  .tool-entry{display:block;min-height:0;padding:14px 0}
  .tool-entry .tool-entry-icon{display:none}
  .tool-entry b{display:block;padding-top:7px;font-size:11px}
  .directory-toolbar{gap:7px;margin-bottom:12px}
  .directory-category-grid{display:flex;overflow-x:auto;gap:0;margin:0 -14px 15px;padding:0 14px}
  .directory-category{flex:0 0 108px;margin-right:8px;padding:12px 8px;border:1px solid #d9ded8!important;background:#fff}
  .directory-category span{width:30px;height:30px;font-size:16px}
  .forum-layout{display:block}
}

/* v40.40.32 final precedence */
#top .city-event-card{color:#fff!important;border:0!important;background-color:#31594d!important;background-size:cover!important;background-position:center!important;overflow:hidden;position:relative}
#top .city-event-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,35,29,.08),rgba(12,35,29,.72));z-index:0}
#top .city-event-card h3{position:relative;z-index:1;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.3)}
#top .city-event-card.city-kl{background-image:url("https://images.unsplash.com/photo-1602427384420-71c70e2b2a2f?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-selangor{background-image:url("https://images.unsplash.com/photo-1610008107654-7553226968a0?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-johor{background-image:url("https://images.unsplash.com/photo-1687861717577-8ff74dd61a47?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-penang{background-image:url("https://images.unsplash.com/photo-1531819177115-428566ccfb50?auto=format&fit=crop&w=1000&q=82")!important}
#top .city-event-card.city-melaka{background-image:url("https://images.unsplash.com/photo-1654428168579-a8c200df6848?auto=format&fit=crop&w=1000&q=82")!important}
#top .utility-section{max-width:none}
#top .utility-heading{display:block;margin-bottom:19px}
#top .utility-heading .section-intro{margin:0;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
#top .service-tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid #d9ded8;border-bottom:1px solid #d9ded8}
#top .service-tool-card{min-height:78px;padding:16px 14px;border:0!important;border-right:1px solid #d9ded8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;text-align:left}
#top .service-tool-card:last-child{border-right:0!important}
#top .service-tool-card span{width:auto;height:auto;margin:0;background:none!important;font-size:18px}
#top .service-tool-card b{font-size:12px;color:#2e453c;white-space:nowrap}
#top .join-box{display:grid!important;place-items:center!important}
#top .join-box-content{align-items:center!important;justify-content:center!important;text-align:center!important}
#top .join-box-content>div{text-align:center}
body:not(#top) .page-cover-media,body:not(#top) .page-cover-shade{display:none!important}
body:not(#top) .events-hero,body:not(#top) .info-hero,body:not(#top) .directory-hero,body:not(#top) .tools-hero,body:not(#top) .forum-hero,body:not(#top) .city-page-hero{min-height:0!important;padding:0!important;background:#f7f6f1!important;border-bottom:1px solid #dedbd2!important;color:#263f36!important}
body:not(#top) .page-cover-content,body:not(#top) .info-hero>.container,body:not(#top) .directory-hero>.container,body:not(#top) .tools-hero>.container,body:not(#top) .forum-hero>.container{padding:30px 0 26px!important}
body:not(#top) .page-cover-content h1,body:not(#top) .info-hero h1,body:not(#top) .directory-hero h1,body:not(#top) .tools-hero h1,body:not(#top) .forum-hero h1,body:not(#top) .city-page-hero h1{color:#263f36!important}
body:not(#top) .page-cover-content p,body:not(#top) .info-hero p,body:not(#top) .directory-hero p,body:not(#top) .tools-hero p,body:not(#top) .forum-hero p,body:not(#top) .city-page-hero p{color:#6f7b76!important}
body:not(#top) .page-cover-content .crumb,body:not(#top) .page-cover-content .crumb a{color:#7a867f!important}
.city-category-bar{margin-bottom:25px}.city-category-bar button{border-radius:2px!important;background:transparent;border:1px solid #cfc8bc;padding:8px 14px;font-size:12px;font-weight:700}.city-category-bar button.active{background:var(--green);border-color:var(--green);color:#fff}.city-event-group[hidden]{display:none!important}
.tools-page-grid .tool-entry[href$="tax.html"] .tool-entry-icon{font-size:0}.tools-page-grid .tool-entry[href$="tax.html"] .tool-entry-icon::before{content:"🧮";font-size:22px}
.site-injected-action{display:none}body>header.header .site-search-toggle{display:none}
@media(max-width:760px){
  #top .main-search{display:none!important}
  #top .hero-copy{padding-bottom:25px}
  #top .city-event-card{min-height:122px}
  #top .service-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  #top .service-tool-card{min-height:66px;padding:13px 8px;justify-content:flex-start;border-right:0!important;border-bottom:1px solid #d9ded8!important}
  #top .service-tool-card:nth-child(odd){border-right:1px solid #d9ded8!important}
  #top .service-tool-card:nth-last-child(-n+2){border-bottom:0!important}
  #top .join-box{min-height:230px!important}
  body>header.header .nav-actions{display:flex!important;align-items:center;gap:2px;min-width:0;margin-left:auto}
  body>header.header .nav-actions>a[href*="dashboard"]{display:none!important}
  body>header.header .nav-actions>a[href*="login.html"],body>header.header .nav-actions>a[href*="register.html"],body>header.header .nav-actions>.site-mobile-auth,body>header.header .nav-actions>.site-injected-action{display:grid!important;place-items:center;min-height:32px;padding:5px 8px;font-size:11px!important;white-space:nowrap}
  body>header.header .nav-actions .site-search-toggle,body>header.header .nav-actions>#navSearch{display:grid!important;place-items:center;width:30px;height:32px;padding:0;color:var(--green);background:transparent;border:0}
  body>header.header .nav-actions .site-search-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  body>header.header .site-menu-toggle{display:block!important;flex:0 0 auto;margin-left:2px;padding:4px 5px;font-size:22px;line-height:1;color:var(--green)}
  body:not(#top) .page-cover-content,body:not(#top) .info-hero>.container,body:not(#top) .directory-hero>.container,body:not(#top) .tools-hero>.container,body:not(#top) .forum-hero>.container{padding:24px 0 20px!important}
  body:not(#top) .forum-category-strip{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;white-space:nowrap;padding:11px 14px!important}
  body:not(#top) .forum-category-strip button{flex:0 0 auto!important;white-space:nowrap}
}

/* v40.40.33 final precedence：修正城市照片對應、城市互動與社群滿版照片 */
#top .city-event-card{
  cursor:pointer;
  transition:transform .22s ease,filter .22s ease,box-shadow .22s ease!important;
}
#top .city-event-card h3{
  font-family:"Iowan Old Style","Songti SC","Noto Serif CJK SC",serif!important;
  font-size:21px!important;
  font-weight:600!important;
  letter-spacing:.02em;
}
#top .city-event-card.city-penang{
  background-image:url("https://images.unsplash.com/photo-1763095063639-099265feff28?auto=format&fit=crop&w=1000&q=82")!important;
}
@media (hover:hover) and (pointer:fine){
  #top .city-event-card:hover{
    transform:translateY(-5px) scale(1.01)!important;
    filter:brightness(1.06)!important;
    box-shadow:0 18px 36px rgba(20,55,45,.22)!important;
  }
}
#top .city-event-card:focus-visible{
  outline:2px solid #e3a064!important;
  outline-offset:3px;
}
#top .city-event-card:active{
  transform:translateY(-1px) scale(.985)!important;
  filter:brightness(.94)!important;
  box-shadow:0 7px 16px rgba(20,55,45,.2)!important;
}
#top .join-section{
  padding:0!important;
  background:#f7f6f1!important;
}
#top .join-box{
  width:100%!important;
  max-width:none!important;
  min-height:340px!important;
  margin:0!important;
  padding:0!important;
  background:linear-gradient(180deg,rgba(20,55,45,.38),rgba(20,55,45,.8)),url("assets/cover-community.jpg") center 48%/cover no-repeat!important;
}
#top .join-box-content{
  min-height:340px;
  padding:46px 24px;
}
@media(max-width:760px){
  #top .city-event-card h3{font-size:18px!important}
  #top .join-box,#top .join-box-content{min-height:270px!important}
  #top .join-box-content{padding:34px 18px}
}

/* v40.40.34：城市活动长文与来源信息 */
.event-long-body{margin-top:22px;padding-top:20px;border-top:1px solid #e3e5df;line-height:1.95;color:#46574f}
.content-source{margin-top:24px;color:#7b8781;font-size:12px}
.content-source a{color:#2e6657;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
  .event-long-body{margin-top:16px;padding-top:16px;line-height:1.8;font-size:13px}
}

/* v40.40.70：首页手机首屏与底部社群区块收束。移除旧装饰线，保持文字直接落在照片上。 */
#top .home-editorial-section,
#top .section-intro,
#top .utility-heading,
#top .hotspot-simple-list,
#top .service-tool-grid{
  border-top:0!important;
}
#top .section-intro,
#top .utility-heading{padding-top:0!important}
#top .join-box{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#top .join-box-content{
  width:min(100%,720px);
  min-height:0!important;
  height:auto!important;
  margin:0 auto;
  padding:46px 24px;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

@media(max-width:760px){
  /* 让主标题成为照片上的首屏内容，不再出现白色文字卡片。 */
  #top .hero{
    min-height:287px!important;
    position:relative;
    overflow:hidden!important;
    background:#17382f!important;
  }
  #top .hero-bg{
    position:absolute!important;
    inset:0!important;
    width:100%;
    height:100%!important;
    min-height:0!important;
    background:linear-gradient(180deg,rgba(10,31,25,.18) 0%,rgba(10,31,25,.24) 40%,rgba(10,31,25,.88) 100%),url("https://images.unsplash.com/photo-1531819177115-428566ccfb50?auto=format&fit=crop&w=1200&q=85") center center/cover no-repeat!important;
  }
  #top .hero-inner{
    position:relative;
    z-index:1;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    width:100%!important;
    min-height:287px!important;
    margin:0!important;
    padding:0 18px 28px!important;
  }
  #top .hero-copy{
    width:100%;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  #top .hero-kicker{color:#f0c18f!important;text-shadow:0 1px 8px rgba(0,0,0,.28)}
  #top .hero h1{
    color:#fff!important;
    text-shadow:0 2px 16px rgba(0,0,0,.34);
    margin-bottom:10px;
  }
  #top .hero-copy p{color:rgba(255,255,255,.88)!important;text-shadow:0 1px 8px rgba(0,0,0,.26)}
  #top .main-search{display:none!important}
  #top .latest-home-card{display:none!important}

  /* 手机端只用浅灰区隔，避免页面向下出现突兀的绿色粗线。 */
  #top .home-editorial-section{border-top:0!important}
  #top .section-intro,
  #top .utility-heading,
  #top .hotspot-simple-list,
  #top .service-tool-grid{border-top:0!important}
  #top .section-intro{padding-top:0!important}
  #top .hotspot-simple-list{border-bottom:0!important}

  #top .join-section{padding:0!important}
  #top .join-box{
    min-height:270px!important;
    width:100%!important;
    padding:0!important;
  }
  #top .join-box-content{
    min-height:0!important;
    padding:34px 18px!important;
  }
}

/* v40.40.38：活动预览图置顶满版；活动详情内文保留图片原始比例与自然尺寸。 */
.event-detail-cover{height:220px;padding:0;box-sizing:border-box;background:#f4f6f4;display:block}
.event-detail-cover img{width:100%;height:100%;object-fit:cover;object-position:center top}
.event-detail-body{padding:11px 14px 12px}
.event-detail-body h2{margin:5px 0 8px}
.event-detail-body .event-meta{margin-top:0}
@media(max-width:900px){.event-detail-cover{height:205px}}
@media(max-width:650px){.event-detail-cover{height:210px}.event-detail-body{padding:10px 13px 11px}.event-detail-body h2{font-size:15px}}

/* 活动详情图片不拉伸、不裁切，并在内容区域内按原始比例显示。 */
.content-detail-cover{width:auto;height:auto;max-width:min(100%,760px);max-height:none;object-fit:contain;border-radius:0;margin:18px auto 20px}

/* v40.40.41：新闻与活动预览图统一满版置顶，移动端不再采用左侧缩略图。 */
.events-list .event-detail-card,
#newsGrid .article-card{
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  overflow:hidden!important;
}
.events-list .event-detail-cover,
#newsGrid .article-cover{
  width:100%!important;
  height:220px!important;
  min-height:220px!important;
  flex:0 0 220px!important;
  border-radius:0!important;
  display:block!important;
  overflow:hidden!important;
  padding:0!important;
}
.events-list .event-detail-cover img,
#newsGrid .article-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center top!important;
  display:block!important;
}
.events-list .event-detail-body,
#newsGrid .article-card-body{
  width:100%!important;
  box-sizing:border-box!important;
  padding:13px 15px 14px!important;
}
@media(max-width:650px){
  .events-list .event-detail-cover,
  #newsGrid .article-cover{
    height:185px!important;
    min-height:185px!important;
    flex-basis:185px!important;
  }
}

/* v40.40.49：生活指南预览图与大马视角完全统一，满宽、等高、水平居中并从顶部对齐。 */
#articleGrid .article-card{
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  overflow:hidden!important;
}
#articleGrid .article-cover{
  width:100%!important;
  height:220px!important;
  min-height:220px!important;
  flex:0 0 220px!important;
  border-radius:0!important;
  display:block!important;
  overflow:hidden!important;
  padding:0!important;
}
#articleGrid .article-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center top!important;
  display:block!important;
}
#articleGrid .article-card-body{
  width:100%!important;
  box-sizing:border-box!important;
  padding:13px 15px 14px!important;
}
@media(max-width:650px){
  #articleGrid .article-cover{
    height:185px!important;
    min-height:185px!important;
    flex-basis:185px!important;
  }
}

/* v40.40.55 member management */
.member-admin-page .cms-top{align-items:flex-end}.member-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.member-stat-card{background:#fff;border:1px solid #e4ebe7;border-top:3px solid #8dbbad;border-radius:8px;padding:15px 16px}.member-stat-card.green{border-top-color:#178463}.member-stat-card.blue{border-top-color:#5e91b6}.member-stat-card.purple{border-top-color:#8c7bb3}.member-stat-card.orange{border-top-color:#d99a43}.member-stat-card small{display:block;color:#7d8983;font-size:12px}.member-stat-card b{display:block;color:#172a24;font-size:26px;line-height:1.2;margin:7px 0 4px}.member-stat-card span{color:#89958f;font-size:12px}.member-analysis-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:14px}.member-chart-panel,.member-breakdown-panel{min-height:250px}.member-analysis-note{font-size:12px;color:#087158}.member-month-chart{height:176px;display:flex;align-items:flex-end;gap:10px;padding:20px 20px 14px}.member-month-column{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;min-width:18px}.member-month-value{height:16px;font-size:12px;color:#075f49}.member-month-bar{width:min(32px,76%);min-height:5px;background:#73aa98;border-radius:3px 3px 0 0}.member-month-column:nth-child(odd) .member-month-bar{background:#b5d5c9}.member-month-column small{font-size:12px;color:#87938d}.member-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px}.member-breakdown>div>small{font-size:12px;color:#7d8983}.member-breakdown p{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #eef1ef;padding:9px 0;margin:0;font-size:12px}.member-breakdown p b{color:#075f49}.member-breakdown em{display:block;font-size:12px;color:#9aa49f;margin-top:12px;font-style:normal}.member-directory-panel{margin-top:14px}.member-directory-head{align-items:center}.member-filter-bar{display:grid;grid-template-columns:minmax(200px,1.7fr) repeat(4,minmax(130px,1fr)) repeat(2,145px);gap:8px;padding:14px 16px;border-bottom:1px solid #edf1ef}.cms-filter-select,.cms-filter-date{height:36px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;padding:0 9px;font-size:12px;color:#3f4e47}.member-table-wrap{overflow-x:auto}.member-table{min-width:1160px}.member-table td:first-child{min-width:160px}.member-table td:first-child b,.member-table td:first-child small{display:block}.member-table td:first-child small{color:#89958f;font-size:12px;margin-top:3px;word-break:break-all}.member-table .member-address-cell{max-width:220px;white-space:normal;line-height:1.55;word-break:break-word}.member-empty{padding:34px;text-align:center;color:#7b8882;font-size:12px}.member-export-panel{margin-top:14px}.member-export-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:16px}.member-export-field{display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 10px;background:#f7faf8;border:1px solid #e5ebe8;border-radius:6px;font-size:12px}.member-export-field input{accent-color:#075f49}.member-export-field small{margin-left:auto;color:#087158;font-size:12px}.member-detail-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px}.member-detail-modal[hidden]{display:none}.member-detail-backdrop{position:absolute;inset:0;background:rgba(10,25,21,.45)}.member-detail-card{position:relative;width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;box-shadow:0 18px 50px rgba(10,25,21,.2)}.member-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:18px;border-bottom:1px solid #edf1ef}.member-detail-head h2{font-size:18px;margin:0}.member-detail-head small{display:block;color:#89958f;font-size:12px;margin-top:5px}.member-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;padding:18px}.member-detail-grid>div{background:#f7faf8;padding:10px;border-radius:6px;min-width:0}.member-detail-grid small{display:block;color:#89958f;font-size:12px}.member-detail-grid b{display:block;margin-top:4px;font-size:12px;line-height:1.55;word-break:break-word}
@media(max-width:1100px){.member-stat-grid{grid-template-columns:repeat(2,1fr)}.member-filter-bar{grid-template-columns:repeat(3,1fr)}.member-filter-bar .cms-search{grid-column:span 3}.member-export-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.member-admin-page .cms-top{align-items:flex-start}.member-analysis-grid{grid-template-columns:1fr}.member-breakdown{grid-template-columns:1fr;gap:8px}.member-filter-bar{grid-template-columns:1fr 1fr}.member-filter-bar .cms-search{grid-column:span 2}.member-filter-bar .cms-filter-date{width:100%}.member-export-fields{grid-template-columns:1fr 1fr}.member-detail-grid{grid-template-columns:1fr}.member-detail-card{max-height:94vh}}
@media(max-width:480px){.member-stat-grid{grid-template-columns:1fr 1fr}.member-stat-card{padding:12px}.member-stat-card b{font-size:22px}.member-export-fields{grid-template-columns:1fr}.cms-actions{width:100%}.cms-actions .cms-btn{flex:1}}

/* v40.40.57 会员奖励后台：总览、批量发放、记录与兑换码库存 */
.reward-admin-heading{align-items:flex-end}.reward-tabs{display:flex;gap:0;border-bottom:1px solid #dfe7e3;margin:0 0 18px;overflow-x:auto}.reward-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#718078;padding:11px 16px;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.reward-tabs button.active{color:#075f49;border-bottom-color:#075f49;background:#f5faf7}.reward-tab-panel[hidden]{display:none}.reward-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.reward-stat-card{background:#fff;border:1px solid #e4ebe7;border-top:3px solid #9cbbae;padding:14px 16px;min-height:90px}.reward-stat-card.green{border-top-color:#178463}.reward-stat-card.blue{border-top-color:#5e91b6}.reward-stat-card.purple{border-top-color:#8c7bb3}.reward-stat-card.orange{border-top-color:#d99a43}.reward-stat-card small{display:block;color:#7d8983;font-size:12px}.reward-stat-card b{display:block;color:#172a24;font-size:24px;line-height:1.2;margin:7px 0 4px}.reward-stat-card span{color:#89958f;font-size:12px}.reward-overview-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}.reward-status-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px}.reward-status-summary>div{display:grid;grid-template-columns:10px 1fr auto;gap:7px;align-items:center;border-bottom:1px solid #eef1ef;padding:8px 0;font-size:12px}.reward-status-summary strong{font-size:17px;color:#172a24}.reward-status-dot{width:8px;height:8px;background:#6da78f}.reward-status-dot.claimed{background:#8c7bb3}.reward-status-dot.expired{background:#d99a43}.reward-status-dot.revoked{background:#b66d68}.reward-attention-list{padding:5px 16px 12px}.reward-attention-item{display:grid;grid-template-columns:52px 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #eef1ef;font-size:12px}.reward-attention-item:last-child{border-bottom:0}.reward-attention-item>b{font-size:11px;color:#a86a18}.reward-attention-item small{color:#88938e;white-space:nowrap}.reward-recent-row{display:grid;grid-template-columns:10px 1fr auto;gap:9px;align-items:start;padding:11px 16px;border-bottom:1px solid #eef1ef}.reward-recent-row:last-child{border-bottom:0}.reward-recent-dot{width:7px;height:7px;background:#73aa98;margin-top:5px}.reward-recent-row b,.reward-recent-row small{display:block;font-size:12px}.reward-recent-row small{color:#89958f;margin-top:3px}.reward-recent-row time{font-size:11px;color:#89958f}.reward-issue-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:18px;padding:18px}.reward-member-picker{min-width:0}.reward-section-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:12px}.reward-section-label span{color:#87938d;font-weight:400}.reward-member-actions{display:flex;gap:6px;margin:8px 0}.reward-member-actions .cms-btn{padding:7px 9px}.reward-member-list{border:1px solid #e4ebe7;max-height:520px;overflow:auto}.reward-member-row{display:grid;grid-template-columns:17px 1fr auto;gap:8px;align-items:center;padding:10px;border-bottom:1px solid #eef1ef;cursor:pointer}.reward-member-row:last-child{border-bottom:0}.reward-member-row:hover{background:#f6faf8}.reward-member-row input{accent-color:#075f49}.reward-member-row span b,.reward-member-row span small{display:block}.reward-member-row span b{font-size:12px;color:#26332e}.reward-member-row span small{font-size:11px;color:#89958f;margin-top:3px;word-break:break-all}.reward-member-row em{font-style:normal;color:#087158;font-size:11px;white-space:nowrap}.reward-issue-form{min-width:0}.reward-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:11px}.reward-issue-form label,.reward-inventory-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#46554e}.reward-issue-form input,.reward-issue-form select,.reward-issue-form textarea,.reward-inventory-form input,.reward-inventory-form select,.reward-inventory-form textarea,.reward-filter-bar select{border:1px solid #dfe7e3;background:#fff;padding:9px 10px;font:inherit;font-weight:400;color:#3f4e47}.reward-issue-form input,.reward-issue-form select,.reward-inventory-form input,.reward-inventory-form select,.reward-filter-bar select{height:38px}.reward-field-wide{margin-top:10px}.reward-issue-form textarea,.reward-inventory-form textarea{resize:vertical;line-height:1.6}.reward-message-label{margin-top:18px}.reward-preview{background:#f5faf7;border-left:3px solid #73aa98;color:#46665a;padding:10px 12px;margin:14px 0;font-size:12px;line-height:1.6}.reward-submit{margin-top:2px}.reward-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) 170px 170px;gap:8px;padding:14px 16px;border-bottom:1px solid #edf1ef}.reward-table-wrap,.reward-mini-table-wrap{overflow:auto}.reward-table{min-width:920px}.reward-table td b,.reward-table td small{display:block}.reward-table td small{font-size:11px;color:#89958f;margin-top:3px}.reward-code-muted{color:#a48b70!important}.reward-table-status{display:inline-block;padding:4px 7px;font-size:11px;background:#edf7f3;color:#075f49}.reward-table-status.claimed{background:#f0edf7;color:#6b5d91}.reward-table-status.expired{background:#fff5e7;color:#a86a18}.reward-table-status.revoked{background:#fff0ef;color:#a24f49}.reward-inventory-form{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:17px 16px;border-bottom:1px solid #edf1ef}.reward-inventory-form .inventory-codes{grid-column:1 / -1}.reward-inventory-form .cms-btn{align-self:end;height:38px}.reward-inventory-form .admin-note{grid-column:1 / -1}.reward-admin-page .admin-note{font-size:12px;color:#7d8983;line-height:1.6;padding-top:9px}.reward-admin-page .member-empty{padding:24px;color:#89958f;font-size:12px;text-align:center}.reward-admin-page .test-safety-warning{margin:16px;padding:11px;background:#fff4ee;color:#a34e42;font-size:12px}
@media(max-width:1000px){.reward-stat-grid{grid-template-columns:repeat(2,1fr)}.reward-issue-layout{grid-template-columns:1fr}.reward-member-list{max-height:330px}.reward-overview-grid{grid-template-columns:1fr}}
@media(max-width:650px){.reward-admin-heading{align-items:flex-start}.reward-admin-heading .cms-actions{width:100%}.reward-admin-heading .cms-btn{flex:1}.reward-stat-grid{grid-template-columns:1fr 1fr;gap:8px}.reward-stat-card{padding:12px}.reward-stat-card b{font-size:20px}.reward-tabs button{padding:10px 12px}.reward-form-grid,.reward-inventory-form{grid-template-columns:1fr}.reward-inventory-form .inventory-codes{grid-column:auto}.reward-filter-bar{grid-template-columns:1fr 1fr}.reward-filter-bar .cms-search{grid-column:1 / -1}.reward-issue-layout{padding:14px}.reward-attention-item{grid-template-columns:1fr;gap:3px}.reward-attention-item small{white-space:normal}}

/* v40.40.57 会员端奖励状态筛选与兑换码默认遮蔽 */
.member-reward-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 14px}.member-reward-filter{border:1px solid #dfe7e3;background:#fff;color:#66746d;padding:7px 10px;font-size:12px;cursor:pointer}.member-reward-filter.active{background:#075f49;border-color:#075f49;color:#fff}.reward-item.is-expired{opacity:.75}.reward-item.is-revoked{opacity:.65}.reward-code code.is-masked{letter-spacing:.1em;color:#7b8b83}.reward-code .reveal-reward{border:1px solid #a9c5ba;background:#fff;color:#075f49;border-radius:0;padding:8px 10px;font-size:12px;font-weight:800;cursor:pointer}.reward-code .copy-reward{margin-left:auto}.reward-help-note{font-size:12px;color:#77847d;line-height:1.7;margin:0 0 12px}
@media(max-width:650px){.reward-code{align-items:flex-start;flex-direction:column}.reward-code button{width:100%;margin-left:0!important}.member-reward-toolbar{display:grid;grid-template-columns:repeat(2,1fr)}.member-reward-filter{width:100%}}

.reward-member-filters{display:grid;grid-template-columns:1fr;gap:7px}.reward-member-filters select{height:38px;border:1px solid #dfe7e3;background:#fff;padding:0 10px;font-size:12px;color:#3f4e47}.reward-filter-hint{min-height:17px;margin-top:7px;color:#87938d;font-size:11px;line-height:1.5}

/* v40.40.59 等級與勳章：使用圖片徽章，並顯示每日 XP 防刷上限 */
.badge-image{display:block;width:58px;height:58px;margin:0 auto 7px;object-fit:contain}.badge-card{min-height:142px}.badge-rule-image{width:42px;height:42px;object-fit:contain}.badge-rule{grid-template-columns:46px 1fr;align-items:center}.member-section-heading{font-size:16px;margin:0}.xp-sync-status{font-size:12px;color:#718078;margin:0 0 12px}.xp-policy-note{font-size:12px;color:#718078;background:#f7faf8;border-left:3px solid #3b6b5f;padding:9px 11px;margin:12px 0 0;line-height:1.7}.xp-daily-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.16);font-size:12px;color:#d7e9e3}.community-rank-badges{display:inline-flex;vertical-align:middle;gap:3px;margin-left:3px}.community-rank-badges img{width:16px;height:16px;object-fit:contain;vertical-align:middle}.community-earned-badge{display:inline-flex;align-items:center;gap:4px}.community-earned-badge img{width:18px;height:18px;object-fit:contain;vertical-align:middle}
.member-admin-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#0b654f;color:#fff;border-left:4px solid #e9c46a;padding:12px 15px;font-size:12px}.member-admin-banner strong{font-size:14px}.member-admin-banner span{color:#d7e9e3}
.member-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:4px 0 14px}.member-dashboard-stats div{background:#f7faf8;border:1px solid #e5ebe8;padding:11px 12px}.member-dashboard-stats small{display:block;color:#75827c;font-size:11px}.member-dashboard-stats b{display:block;color:#075f49;font-size:18px;margin-top:3px}.member-inbox-filters{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e5ebe8}.member-inbox-filters button{border:1px solid #dce6e1;background:#fff;color:#5f6c66;padding:7px 11px;font-size:12px;cursor:pointer}.member-inbox-filters button.active{background:#075f49;color:#fff;border-color:#075f49}.member-inbox-filters span{margin-left:auto;color:#89958f;font-size:12px}
.member-favorite-filter{display:block;margin:0 0 13px;padding:8px 10px;border:1px solid #dce6e1;background:#fff;color:#5f6c66;font-size:12px}
@media(max-width:650px){.xp-daily-meta{align-items:flex-start;flex-direction:column;gap:2px}.badge-card{min-height:138px}.member-dashboard-stats{grid-template-columns:1fr 1fr}.member-inbox-filters{overflow:auto}.member-inbox-filters span{white-space:nowrap}}

/* v40.40.61 勋章展示选择、社群阅读限制与工具资料说明 */
.featured-badge-settings{margin-top:18px;padding:15px;background:#f7faf8;border-top:1px solid #e5ebe8}.featured-badge-settings h3{margin:0 0 4px;font-size:13px}.featured-badge-settings p{margin:0;color:#7b8882;font-size:12px;line-height:1.6}.featured-badge-picker{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.featured-badge-option{display:flex;align-items:center;gap:6px;border:1px solid #dfe7e3;background:#fff;padding:7px 9px;font-size:12px;cursor:pointer}.featured-badge-option input{accent-color:#075f49}.featured-badge-option img{width:26px;height:26px;object-fit:contain}.featured-badge-actions{display:flex;align-items:center;gap:10px}.featured-badge-actions button{border:0;background:#075f49;color:#fff;padding:8px 12px;font-size:12px;font-weight:800;cursor:pointer}.featured-badge-actions span{color:#087158;font-size:12px}.community-limit-note,.tool-source-note{padding:10px 12px;background:#f7faf8;border-left:3px solid #73aa98;color:#63736b;font-size:12px;line-height:1.7}.community-limit-note{margin:0 0 13px}.community-char-count{color:#88958f;font-size:11px;text-align:right;margin-top:-6px}.forum-topic-excerpt{display:block;color:#76847d;font-size:12px;line-height:1.6;margin-top:4px}.guest-content-gate{margin:25px 0 5px;padding:22px;text-align:center;background:linear-gradient(180deg,rgba(247,250,248,.55),#f7faf8);border:1px solid #dfe7e3}.guest-content-gate strong{display:block;color:#075f49;font-size:15px;margin-bottom:6px}.guest-content-gate p{margin:0 0 13px;color:#6d7a73;font-size:12px;line-height:1.7}.guest-content-gate button,.guest-content-gate a{display:inline-block;border:0;background:#075f49;color:#fff;padding:9px 13px;font-size:12px;font-weight:800;text-decoration:none}.guest-content-gate a{background:#eef4f1;color:#075f49;margin-left:6px}.guest-scroll-note{position:fixed;left:50%;bottom:18px;z-index:90;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#12231e;color:#fff;padding:10px 14px;font-size:12px;transition:.2s}.guest-scroll-note.show{opacity:1;transform:translate(-50%,0)}
.tool-source-note{margin-top:16px}.tool-source-note a{color:#075f49;text-decoration:underline}.tool-status{font-size:12px;color:#087158;margin-top:8px;min-height:18px}
@media(max-width:650px){.featured-badge-option{flex:1 1 calc(50% - 8px)}.guest-content-gate{padding:18px 12px}.guest-content-gate a{margin:8px 0 0 4px}.tool-source-note{font-size:11px}}
.guest-scroll-note a{color:#bce7d7;font-weight:800;text-decoration:underline;margin-left:4px}.forum-topic-title{min-width:0}.forum-topic-excerpt{max-width:58ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guest-thread-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.guest-thread-actions span{color:#7b8882}.guest-thread-actions a{color:#075f49;font-weight:800;text-decoration:none}
.community-char-count.over{color:#b23b31;font-weight:800}
@media(max-width:760px){.forum-topic-excerpt{max-width:42ch}.guest-scroll-note{left:12px;right:12px;transform:translateY(12px);text-align:center}.guest-scroll-note.show{transform:translateY(0)}}

/* v40.40.64 responsive audit: keep mobile CMS navigation reachable and prevent page drift. */
html,body{max-width:100%;overflow-x:hidden}
[hidden]{display:none!important}
@media(max-width:900px){
  .cms-shell{display:block;min-height:100vh}
  .cms-sidebar{display:block;position:sticky;top:0;z-index:60;height:auto;padding:10px 14px;background:#12231e;overflow-x:auto;white-space:nowrap}
  .cms-brand{display:inline-flex;align-items:center;vertical-align:middle;margin:0 18px 0 0;font-size:15px}
  .cms-brand small{display:none}
  .cms-nav{display:inline-flex;vertical-align:middle;gap:4px}
  .cms-nav a{display:inline-flex;align-items:center;flex:0 0 auto;margin:0;padding:8px 10px;font-size:11px}
  .cms-main{padding:18px 14px}
}
@media(max-width:600px){
  .cms-sidebar{padding:9px 10px}
  .cms-brand{display:flex;margin:0 0 7px;font-size:14px}
  .cms-nav{display:flex;max-width:100%;overflow-x:auto;padding-bottom:1px}
  .cms-nav a{padding:8px 9px}
  .cms-top h1{font-size:21px;line-height:1.35}
  .cms-panel-head{align-items:flex-start;gap:10px}
}

/* v40.40.65 community forum: forum-style topic list and floor-by-floor thread layout. */
.forum-hero>.container{align-items:center;gap:28px}
.forum-hero h1{font-size:38px;letter-spacing:-1px;margin:5px 0 12px}
.forum-hero p{max-width:700px;margin:0;font-size:14px;line-height:1.85}
.forum-new-post{flex:0 0 auto;min-width:118px;text-align:center;padding:11px 16px!important;font-size:12px}
.forum-layout{grid-template-columns:minmax(0,1fr) 288px;gap:18px;align-items:start}
.forum-main{overflow:hidden}
.forum-board-head{padding:19px 20px 16px;align-items:flex-end}
.forum-board-head h2{font-size:20px;letter-spacing:.01em}
.forum-board-head p{margin-top:6px}
.forum-board-actions{flex:0 0 auto}
.forum-board-actions button{padding:8px 11px!important;border-radius:0!important;font-size:11px!important}
.forum-category-strip{align-items:center;gap:6px;padding:12px 18px;background:#f5f7f4}
.forum-category-label{flex:0 0 auto;margin-right:4px;color:#76827b;font-size:11px;font-weight:800}
.forum-category-strip button{border-radius:0!important;padding:7px 10px!important;font-size:11px!important;white-space:nowrap}
.forum-table-head{grid-template-columns:minmax(0,1fr) 120px 105px 160px;padding:10px 18px;background:#eaf1ed;border-top:1px solid #dbe5df;border-bottom:1px solid #dbe5df;color:#66766e;font-size:11px}
.forum-topic-row{grid-template-columns:minmax(0,1fr) 120px 105px 160px;gap:14px;min-height:86px;padding:14px 18px;border-top:1px solid #e6ece8;background:#fff;transition:background .15s ease}
.forum-topic-row:hover{background:#f7fbf8}
.forum-topic-title{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0}
.forum-topic-labels{display:flex;flex-wrap:wrap;gap:5px;min-height:18px}
.forum-topic-labels .forum-badge{border-radius:0!important;padding:3px 6px;font-size:10px}
.forum-topic-title>b{display:block;overflow:hidden;color:#263b34;font-size:14px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.forum-topic-excerpt{max-width:none!important;color:#78857f;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.forum-topic-meta{color:#9aa59f;font-size:10px;line-height:1.4}
.forum-topic-author{justify-content:center;min-width:0;color:#44554d;font-size:12px;line-height:1.45}
.forum-topic-author>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.forum-topic-count{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
.forum-topic-count>span{display:flex;flex-direction:column;align-items:center;gap:2px}
.forum-topic-count b{font-size:14px;color:#3a5148}
.forum-topic-count small{font-size:10px;color:#96a29b}
.forum-topic-last{display:flex;flex-direction:column;gap:3px;min-width:0;color:#74817a;line-height:1.4}
.forum-topic-last small{font-size:10px;color:#9aa59f}
.forum-topic-last time{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.forum-side{gap:12px}
.forum-side-card{padding:16px}
.forum-side-card h3{font-size:14px}
.forum-category-rank{gap:0}
.forum-category-rank button{border-radius:0!important;padding:9px 3px;font-size:12px}
.forum-hot-rank a{padding:10px 0}
.forum-hot-rank em{border-radius:0!important}
.forum-rules p{font-size:12px;line-height:1.8}

.thread-breadcrumb{align-items:center;margin-bottom:14px;font-size:12px}
.thread-breadcrumb a{font-weight:800}
.thread-card{grid-template-columns:185px minmax(0,1fr);border-color:#d9e3dd;box-shadow:0 7px 18px rgba(55,52,43,.035)}
.thread-author{background:#f3f7f4;padding:20px 17px;border-color:#dfe8e2}
.thread-content{padding:24px 28px 20px}
.thread-meta{align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid #e3ebe6}
.thread-meta span{font-size:11px}
.thread-meta span:first-child{padding:4px 7px;background:#e8f3ee;color:#28604e!important;font-weight:800}
.thread-content h1{font-size:26px;line-height:1.4;margin:18px 0 20px;color:#253b33}
.thread-body{font-size:14px;line-height:2;min-height:160px;color:#34453e}
.thread-content-footer{margin-top:28px;padding-top:14px;border-top:1px solid #e3ebe6}
.thread-content-footer .thread-actions{gap:6px}
.thread-content-footer .thread-actions button{border-radius:0!important;padding:8px 11px;font-size:11px}
.thread-replies{margin-top:16px;background:#f1f5f3;border-color:#d9e3dd}
.thread-replies-head{background:#fff;padding:15px 20px;border-bottom-color:#dfe8e2}
.thread-replies-head h2{font-size:16px}
.thread-reply{background:#fbfcfa;border-bottom-color:#e2eae5;grid-template-columns:185px minmax(0,1fr)}
.thread-reply-body{padding:18px 24px}
.thread-reply-body>small{color:#8a9790;font-size:11px}
.thread-reply-body p{font-size:14px;line-height:1.9;color:#34453e}
.comment-item-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:14px;padding-top:10px;border-top:1px solid #edf1ef}
.comment-item-actions button{border:0;background:transparent;color:#78857f;font-size:11px;padding:4px 6px}
.comment-item-actions button.active{color:#28705b;background:#e8f3ee}
.thread-reply-box{margin-top:16px;padding:20px;border-color:#d9e3dd}
.thread-reply-box h3{font-size:16px;margin:0 0 12px}

@media(max-width:900px){
  .forum-layout{grid-template-columns:1fr}
  .forum-side{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .forum-hero>.container{align-items:flex-start;gap:18px;padding-top:32px!important;padding-bottom:30px!important}
  .forum-hero h1{font-size:30px;line-height:1.3}
  .forum-hero p{font-size:13px;line-height:1.75}
  .forum-new-post{width:100%;}
  .forum-board-head{align-items:flex-start;flex-direction:column;gap:13px;padding:17px 14px 14px}
  .forum-board-actions{display:flex;width:100%;overflow-x:auto}
  .forum-board-actions button{flex:0 0 auto}
  .forum-category-strip{margin:0 -1px;padding:10px 14px;overflow-x:auto}
  .forum-table-head{display:none}
  .forum-topic-row{grid-template-columns:minmax(0,1fr) 84px;gap:8px 10px;padding:14px}
  .forum-topic-title{grid-column:1;grid-row:1}
  .forum-topic-count{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
  .forum-topic-count>span{flex-direction:row;gap:4px}
  .forum-topic-count b{font-size:13px}
  .forum-topic-count small{font-size:10px}
  .forum-topic-author{grid-column:1/-1;grid-row:2;align-items:flex-start;padding-top:8px;border-top:1px solid #edf1ef}
  .forum-topic-last{grid-column:1/-1;grid-row:3;display:block;padding-top:2px}
  .forum-topic-last small{margin-right:6px}
  .forum-topic-title>b{font-size:13px;white-space:normal}
  .forum-topic-excerpt{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .forum-side{grid-template-columns:1fr}
  .thread-card,.thread-reply{grid-template-columns:1fr}
  .thread-author{border-right:0;border-bottom:1px solid #dfe8e2;padding:13px 14px}
  .thread-content{padding:18px 15px 16px}
  .thread-content h1{font-size:22px;margin:15px 0}
  .thread-body{font-size:15px;line-height:1.9;min-height:100px}
  .thread-reply-body{padding:15px}
  .thread-reply-body p{font-size:14px}
}

/* v40.40.66 community controls: forum navigation, filters, pagination and thread sidebar. */
.forum-board-nav{background:#fff;border-bottom:1px solid #dfe7e2}
.forum-board-nav>.container{display:flex;gap:0;overflow-x:auto}
.forum-board-nav a{flex:0 0 auto;padding:12px 17px;border-bottom:2px solid transparent;color:#6b7971;font-size:12px;font-weight:800;white-space:nowrap}
.forum-board-nav a:hover,.forum-board-nav a.active{color:#28705b;border-bottom-color:#28705b}
.forum-list-toolbar{display:flex;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid #e1e9e4;background:#fff}
.forum-view-switch{display:flex;align-items:center;gap:4px;color:#8a9790;font-size:11px;white-space:nowrap}
.forum-view-switch button{border:1px solid #d5e0da;background:#fff;color:#67766e;border-radius:0!important;padding:6px 9px;font-size:11px}
.forum-view-switch button.active{background:#e8f3ee;color:#28705b;border-color:#9fc4b4}
.forum-topic-search{height:32px;min-width:170px;flex:1;border:1px solid #d5e0da;background:#fff;padding:0 10px;color:#34453e;font-size:12px;outline:0}
.forum-topic-search:focus{border-color:#6aa88f;box-shadow:0 0 0 2px rgba(40,112,91,.08)}
.forum-reply-filter{display:flex;align-items:center;gap:6px;color:#88958e;font-size:11px;white-space:nowrap}
.forum-reply-filter select{height:32px;border:1px solid #d5e0da;background:#fff;color:#4b5b53;padding:0 7px;font-size:11px}
.forum-topic-list.compact .forum-topic-row{min-height:62px;padding-top:9px;padding-bottom:9px}
.forum-topic-list.compact .forum-topic-excerpt{display:none}
.forum-topic-list.compact .forum-topic-meta{display:none}
.forum-pagination{display:flex;justify-content:center;align-items:center;gap:4px;padding:14px 18px;background:#fff;border-top:1px solid #e5ece8}
.forum-pagination button{min-width:30px;height:30px;border:1px solid #d5e0da;background:#fff;color:#64736b;padding:0 8px;font-size:11px}
.forum-pagination button:hover,.forum-pagination button.active{background:#28705b;border-color:#28705b;color:#fff}
.forum-pagination span{padding:0 4px;color:#9ba7a0;font-size:12px}

.thread-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}
.thread-main-column{min-width:0}
.thread-side{display:grid;gap:12px;align-content:start;position:sticky;top:92px}
.thread-side-card{background:#fbfcfa;border:1px solid #d9e3dd;padding:16px}
.thread-side-card h3{margin:0 0 12px;font-size:14px;color:#2b4037}
.thread-summary{display:grid;gap:0}
.thread-summary>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e8efeb}
.thread-summary>div:last-child{border-bottom:0}
.thread-summary small{color:#8a9790;font-size:11px}
.thread-summary b{color:#42554c;font-size:11px;text-align:right;font-weight:700}
.thread-related{display:grid}
.thread-related a{display:grid;grid-template-columns:20px 1fr;gap:3px 7px;padding:9px 0;border-bottom:1px solid #e8efeb;text-decoration:none;color:inherit}
.thread-related a:last-child{border-bottom:0}
.thread-related em{grid-row:1/3;width:20px;height:20px;background:#e8f3ee;color:#28705b;display:grid;place-items:center;font-style:normal;font-size:11px}
.thread-related span{font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.thread-related small{font-size:10px;color:#909d95}

@media(max-width:900px){
  .thread-layout{grid-template-columns:1fr}
  .thread-side{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .forum-list-toolbar{align-items:stretch;flex-wrap:wrap;padding:10px 14px}
  .forum-view-switch{width:100%}
  .forum-topic-search{order:3;flex-basis:100%;min-width:0}
  .forum-reply-filter{margin-left:auto}
  .thread-side{grid-template-columns:1fr}
  .thread-side-card{padding:14px}
}

/* v40.40.72 usability pass: staged profiles, practical filters and compact mobile navigation. */
.auth-user-short{display:none}
.auth-user-link{min-height:38px;display:grid;place-items:center;padding:7px 10px;border:1px solid #d7ddd8;color:#1f4037;font-size:12px;font-weight:800;text-decoration:none}
.profile-policy-note,.profile-progress-note{display:flex;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;border-left:3px solid #2f725f;background:#eef5f1;color:#3f524a;font-size:13px;line-height:1.65}
.profile-policy-note{flex-wrap:wrap}.profile-policy-note b{color:#1f4037}.profile-policy-note a,.profile-progress-note{color:#205d4b;font-weight:800}.profile-progress-note:hover{background:#e5f0ea}

.news-filter-panel,.event-filter-panel{display:grid;gap:10px;margin-bottom:18px;padding:14px 16px;background:#f4f2ed;border:1px solid #e1ddd5}
.news-filter-row,.event-filter-group{display:flex;align-items:flex-start;gap:14px}.news-filter-row>b,.event-filter-group>b{flex:0 0 54px;padding-top:9px;color:#42544c;font-size:12px}.news-filter-row .category-bar,.event-filter-group .category-bar{flex:1;margin:0;padding:0;background:transparent;border:0}
.city-preference{display:flex;align-items:center;gap:9px;padding-top:11px;border-top:1px solid #dedad2}.city-preference label{font-size:12px;font-weight:800}.city-preference select{height:36px;border:1px solid #ccd5d0;background:#fff;padding:0 10px}.city-preference button{height:36px;border:0;background:#254f43;color:#fff;padding:0 14px;font-weight:800}.city-preference small{color:#738078;font-size:11px}
.event-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.event-detail-actions .btn{display:grid;place-items:center;min-height:40px}.event-detail-actions button.active{background:#254f43;color:#fff}.event-cover-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#e9ece7;color:#557066;font-size:14px;font-weight:800}

.article-toc{margin:20px 0 28px;border:1px solid #d9e1dc;background:#f6f6f2;padding:0}.article-toc summary{cursor:pointer;padding:13px 16px;color:#294a3f;font-weight:900;font-size:14px}.article-toc nav{display:grid;gap:0;padding:0 16px 14px}.article-toc a{padding:7px 0;border-top:1px solid #e4e7e2;color:#4c5e56;font-size:13px;text-decoration:none}.article-toc .toc-h3{padding-left:16px;color:#718078}.content-detail-body h2,.content-detail-body h3{scroll-margin-top:92px}

.member-favorite-filters{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px;padding:12px;background:#f6f6f2}.member-favorite-filters label,.favorite-collection-control{display:flex;align-items:center;gap:7px;color:#66766e;font-size:11px;font-weight:800}.member-favorite-filters select,.member-favorite-filters input,.favorite-collection-control select{height:34px;border:1px solid #d3dbd6;background:#fff;padding:0 8px;color:#35483f}.member-favorite-filters input{min-width:190px}.member-favorite-row{grid-template-columns:minmax(0,1fr) auto auto}.favorite-collection-control{white-space:nowrap}.favorite-collection-status{display:block;color:#087158;font-size:12px;margin:0 0 10px}.profile-sensitive-note{font-size:12px;color:#718078;line-height:1.6;margin:0 0 12px;padding:9px 11px;background:#f7faf8;border-left:3px solid #9cbbae}
.member-reminder-panel{margin:10px 0 18px;padding:15px;border:1px solid #dce4df;background:#f7f8f4}.member-reminder-panel h2{margin:0 0 4px;font-size:16px}.member-reminder-panel>div>p{margin:0 0 10px;color:#738078;font-size:12px}.member-reminder-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #e2e8e4}.member-reminder-item a{display:grid;gap:3px;color:#2c4339;text-decoration:none}.member-reminder-item small{color:#78867e;font-size:11px}.member-reminder-item button{border:0;background:transparent;color:#7a5c54;font-size:11px}

.forum-mobile-filter-toggle{display:none;width:100%;border:0;border-bottom:1px solid #dfe8e2;background:#f6f8f5;color:#315548;padding:11px 14px;text-align:left;font-weight:800}
.thread-actions button.active{background:#e5f0ea!important;color:#24624f!important}
.directory-category span,.tool-entry-icon,.service-tool-card span{font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;font-weight:900;color:#29594b}
.directory-category span{font-size:0!important}.directory-category span::before{font-size:15px}.directory-category:nth-child(1) span::before{content:"全"}.directory-category:nth-child(2) span::before{content:"市"}.directory-category:nth-child(3) span::before{content:"运"}.directory-category:nth-child(4) span::before{content:"医"}.directory-category:nth-child(5) span::before{content:"车"}.directory-category:nth-child(6) span::before{content:"法"}.directory-category:nth-child(7) span::before{content:"食"}
.tools-page-grid .tool-entry-icon{font-size:0!important}.tools-page-grid .tool-entry-icon::before{font-size:20px!important}.tools-page-grid .tool-entry[href$="currency.html"] .tool-entry-icon::before{content:"汇"}.tools-page-grid .tool-entry[href$="cost.html"] .tool-entry-icon::before{content:"费"}.tools-page-grid .tool-entry[href$="salary.html"] .tool-entry-icon::before{content:"薪"}.tools-page-grid .tool-entry[href$="tax.html"] .tool-entry-icon::before{content:"税"!important}.tools-page-grid .tool-entry[href$="holidays.html"] .tool-entry-icon::before{content:"假"}.tools-page-grid .tool-entry[href*="search"] .tool-entry-icon::before{content:"搜"}

@media(max-width:850px){
  .member-v31{gap:10px;padding-top:12px}.member-v31-side{padding:10px;border:0;border-bottom:1px solid #dfe5e1;overflow:hidden}.member-v31-profile{padding:2px 4px 9px}.member-v31-profile small{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-v31-nav{display:flex;gap:4px;overflow-x:auto;padding:8px 0 1px;scrollbar-width:none}.member-v31-nav::-webkit-scrollbar{display:none}.member-v31-nav a{flex:0 0 auto;padding:8px 10px;border:1px solid #e1e6e2;border-radius:0}.member-v31-main{min-width:0}
}
@media(max-width:720px){
  body>header.header .nav-actions>.auth-user-link{display:grid!important;min-height:32px;padding:5px 8px;border:0;background:#f0f4f1;color:#1f4037!important}.auth-user-name{display:inline}.auth-user-short{display:none}
  body>header.header .nav-actions>button.js-logout:not(#navSearch){display:grid!important;place-items:center;min-height:32px;padding:5px 8px;border:1px solid #d7ddd8;background:#fff;color:#1f4037;font-size:11px;white-space:nowrap}
  .news-filter-panel,.event-filter-panel{margin:0 -1px 14px;padding:11px}.news-filter-row,.event-filter-group{display:grid;gap:5px}.news-filter-row>b,.event-filter-group>b{padding:0}.news-filter-row .category-bar,.event-filter-group .category-bar{display:flex;overflow-x:auto;flex-wrap:nowrap}.city-preference{display:grid;grid-template-columns:1fr auto;gap:7px}.city-preference label,.city-preference small{grid-column:1/-1}.city-preference select{min-width:0}
  .forum-board-nav,.forum-side,.forum-view-switch{display:none!important}.forum-hero>.container{padding-top:20px!important;padding-bottom:20px!important}.forum-hero h1{font-size:24px;margin:3px 0 7px}.forum-hero p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.forum-new-post{width:auto;min-width:110px;padding:9px 12px!important}.forum-mobile-filter-toggle{display:block}.forum-list-toolbar{display:none!important}.forum-list-toolbar.show-mobile{display:flex!important}.forum-category-strip{position:sticky;top:65px;z-index:4}.forum-topic-row{grid-template-columns:minmax(0,1fr) 66px}.forum-topic-author,.forum-topic-last{display:none}.forum-topic-excerpt{-webkit-line-clamp:1}.thread-side{display:none!important}
  .member-v31-card{padding:14px;border-radius:0}.member-favorite-row{grid-template-columns:1fr auto}.favorite-collection-control{grid-column:1}.member-favorite-row>.member-delete-btn{grid-column:2;grid-row:2}.member-favorite-filters{display:grid}.member-favorite-filters label{justify-content:space-between}.member-favorite-filters select{min-width:150px}.member-reminder-item{align-items:flex-start}.article-toc{margin:14px 0 20px}.event-detail-actions{display:grid;grid-template-columns:1fr 1fr}.event-detail-actions .btn{width:100%}
}

@media(max-width:760px){
  body>header.header .nav-actions>a.auth-user-link[href*="dashboard"]{display:grid!important;place-items:center;min-height:32px;padding:5px 8px;border:1px solid #d7ddd8;background:#f0f4f1;color:#1f4037!important;font-size:11px!important;white-space:nowrap}
}
.image-fallback,.event-cover-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:180px;background:#f0f1ee;color:#6e756e;font-size:14px;text-align:center;padding:18px}
/* Keep every CMS destination reachable when the sidebar exceeds viewport height. */
@media(min-width:901px){
  .cms-sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6f897d #12231e}
  .cms-sidebar::-webkit-scrollbar{width:7px}
  .cms-sidebar::-webkit-scrollbar-thumb{background:#6f897d}
}
.cms-editorial-safety{display:flex;gap:12px;align-items:center;padding:14px 16px;background:#f2f8f4}.cms-editorial-safety b{color:#075f49;font-size:12px;white-space:nowrap}.cms-editorial-safety span{font-size:12px;color:#607069;line-height:1.6}.cms-editorial-layout{align-items:start}.cms-editorial-table-wrap{overflow:auto}.cms-cell-note{display:block;max-width:360px;margin-top:4px;color:#89958f;line-height:1.5}.cms-inline-input{width:74px;height:30px;border:1px solid #dfe7e3;border-radius:6px;padding:0 7px;font-size:12px}.cms-editorial-run-form{display:grid;gap:10px;padding:16px;font-size:12px}.cms-editorial-run-form label{display:flex;gap:7px;align-items:center}.cms-editorial-run-form button{margin-top:6px}.cms-editorial-run-form p{margin:0;color:#87938d;line-height:1.6}.cms-editorial-policy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.cms-editorial-policy-card{display:grid;gap:12px;border:1px solid #e4ebe7;padding:14px;background:#fbfdfc}.cms-editorial-policy-head{display:flex;justify-content:space-between;align-items:center}.cms-editorial-policy-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cms-editorial-policy-fields label,.cms-editorial-policy-json{display:grid;gap:5px;font-size:12px;font-weight:700}.cms-editorial-policy-fields input{width:100%;height:34px;border:1px solid #dfe7e3;border-radius:6px;padding:0 7px;font-size:12px}.cms-editorial-policy-json textarea{min-height:180px;resize:vertical;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid #dfe7e3;border-radius:6px;padding:9px;background:#fff}.cms-editorial-policy-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.cms-editorial-review-list{display:grid;gap:0;padding:6px 16px 12px}.cms-editorial-review-item{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #eef2ef}.cms-editorial-review-item:last-child{border-bottom:0}.cms-editorial-review-item b{display:block;font-size:12px;line-height:1.45}.cms-editorial-review-item small{display:block;margin-top:4px;color:#89958f;font-size:11px}.cms-editorial-review-actions{display:flex;gap:6px;flex:none}.cms-icon-btn.primary{background:#075f49;color:#fff}.test-safety-warning.error{background:#fff0ef;color:#a54840}.test-safety-warning.warn{background:#fff6e9;color:#8a6425}@media(max-width:1100px){.cms-editorial-policy-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.cms-editorial-safety{display:block}.cms-editorial-safety span{display:block;margin-top:5px}.cms-editorial-policy-grid{grid-template-columns:1fr}.cms-editorial-review-item{display:block}.cms-editorial-review-actions{margin-top:9px}.cms-editorial-review-actions .cms-icon-btn{display:inline-block}}

/* AI editorial workspace clarity */
.cms-editorial-guide{margin-bottom:18px}.cms-editorial-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px}.cms-editorial-step{display:flex;gap:10px;align-items:flex-start;padding:12px;background:#f7faf8;border:1px solid #e3ece7}.cms-editorial-step>b{display:grid;place-items:center;width:24px;height:24px;background:#075f49;color:#fff;font-size:12px;flex:none}.cms-editorial-step strong{display:block;font-size:12px;color:#20342b}.cms-editorial-step p{margin:5px 0 0;font-size:11px;color:#7d8983;line-height:1.55}.cms-editorial-help{font-size:11px;color:#829088;line-height:1.5}.cms-editorial-table-wrap{max-width:100%;overflow:auto}.cms-editorial-table-wrap .cms-table{min-width:720px}.cms-editorial-table-wrap .cms-table td:first-child{min-width:210px}.cms-editorial-run-form{gap:12px}.cms-editorial-run-form label{padding:9px 10px;background:#f8fbf9;border:1px solid #e6eeea}.cms-editorial-run-form label>span{display:grid;gap:3px}.cms-editorial-run-form label small{color:#89958f;font-size:11px}.cms-editorial-form-intro,.cms-editorial-form-note{font-size:11px!important;color:#6f7e75!important;line-height:1.6}.cms-editorial-policy-card label>span{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.cms-editorial-policy-card label>span em{font-size:10px;font-weight:400;font-style:normal;color:#8b9691}.cms-editorial-policy-card textarea{font-size:11px}.cms-editorial-policy-card .cms-editorial-policy-actions>label{font-weight:400;background:transparent;border:0;padding:0}.cms-editorial-review-item{background:#fff}.cms-editorial-review-actions .cms-icon-btn{white-space:nowrap}
@media(max-width:1100px){.cms-editorial-steps{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.cms-editorial-steps{grid-template-columns:1fr}.cms-editorial-help{display:block;margin-top:6px}.cms-panel-head{align-items:flex-start}}

/* AI editorial workspace: bounded, readable, and responsive. */
.cms-editorial-page .cms-shell{grid-template-columns:230px minmax(0,1fr)}
.cms-editorial-page .cms-main{box-sizing:border-box;width:min(100%,1370px);min-width:0;margin:0 auto;padding:32px 36px 64px}
.cms-editorial-page .cms-main *{box-sizing:border-box}
.cms-editorial-page .cms-panel{min-width:0;border-radius:0;margin:0;background:#fff}
.cms-editorial-page .cms-btn,.cms-editorial-page .cms-icon-btn,.cms-editorial-page input,.cms-editorial-page textarea{border-radius:0}
.cms-editorial-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 18px}
.cms-editorial-header h1{font-size:clamp(1.7rem,2.6vw,2.25rem);line-height:1.2;margin:5px 0 8px;color:#182b23}
.cms-editorial-header p{margin:0;color:#66766e;font-size:.94rem;line-height:1.5}
.cms-editorial-header time{flex:none;color:#7b8981;font-size:.85rem}
.cms-editorial-section-nav{display:flex;flex-wrap:wrap;gap:5px;padding:0 0 11px;margin:0 0 16px;border-bottom:1px solid #dce5df}
.cms-editorial-section-nav a{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;color:#39584b;text-decoration:none;font-size:.88rem;font-weight:700}
.cms-editorial-section-nav a:hover,.cms-editorial-section-nav a:focus-visible{background:#eaf2ed;outline:0}
.cms-editorial-notice{padding:11px 15px;margin:0 0 16px;background:#edf5f0;border-left:3px solid #278260;color:#315948;font-size:.87rem;line-height:1.5}
.cms-editorial-notice.error{background:#fff0ef;border-color:#b44f47;color:#973f38}
.cms-editorial-notice.warn{background:#fff6e9;border-color:#ad6b18;color:#80551d}
.cms-editorial-panel{margin-bottom:18px!important;scroll-margin-top:24px}
.cms-editorial-page .cms-panel-head{padding:19px 22px;border-bottom:1px solid #e8eee9;align-items:start}
.cms-editorial-page .cms-panel-head h2{font-size:1.15rem;line-height:1.3;margin:3px 0 5px;color:#182b23}
.cms-editorial-page .cms-panel-head p{font-size:.88rem;line-height:1.5;margin:0;color:#718077}
.cms-editorial-kicker{font-size:.75rem;letter-spacing:.04em;font-weight:800;color:#28765b}
.cms-editorial-task-body{padding:19px 22px 21px}
.cms-editorial-page .cms-editorial-run-form{display:block;padding:0}
.cms-editorial-task-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cms-editorial-page .cms-editorial-run-form .cms-editorial-task-options label{display:flex;align-items:center;gap:11px;min-width:0;min-height:78px;margin:0;padding:12px 14px;background:#f8faf8;border:1px solid #dfe8e1;cursor:pointer}
.cms-editorial-task-options input{flex:none;width:18px;height:18px;accent-color:#075f49}
.cms-editorial-task-options span{display:grid;gap:3px;min-width:0}
.cms-editorial-task-options b{color:#203b2f;font-size:.95rem}
.cms-editorial-task-options small{color:#75847a;font-size:.81rem;line-height:1.35}
.cms-editorial-task-footer{display:flex;align-items:center;gap:16px;margin-top:15px}
.cms-editorial-task-footer .cms-btn{flex:none;min-height:42px;padding:9px 19px;font-size:.9rem}
.cms-editorial-page .cms-editorial-task-footer p{margin:0;color:#708078;font-size:.83rem;line-height:1.5}
.cms-editorial-agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.cms-editorial-agent-card{display:grid;grid-template-rows:1fr auto;min-width:0;gap:14px;padding:19px 22px;border-bottom:1px solid #edf1ed}
.cms-editorial-agent-card:nth-child(odd){border-right:1px solid #edf1ed}
.cms-editorial-agent-labels{display:flex;flex-wrap:wrap;gap:6px}
.cms-editorial-agent-labels span{padding:3px 7px;background:#edf4ef;color:#456b56;font-size:.75rem}
.cms-editorial-agent-labels span+span{background:#f2f3ef;color:#667069}
.cms-editorial-agent-card h3{font-size:1.02rem;line-height:1.35;margin:9px 0 4px;color:#1d3026}
.cms-editorial-agent-card p{margin:0;color:#6b7970;font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}
.cms-editorial-agent-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.cms-editorial-toggle{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:36px;padding:0!important;background:transparent!important;border:0!important;color:#45584b;font-size:.84rem;font-weight:700;white-space:nowrap}
.cms-editorial-toggle input{width:17px;height:17px;margin:0;accent-color:#075f49}
.cms-editorial-version{display:grid;gap:4px;color:#6a786f;font-size:.77rem;font-weight:700}
.cms-editorial-page .cms-inline-input{width:92px;height:36px;padding:6px 8px;font-size:.88rem}
.cms-editorial-agent-controls .cms-btn{min-height:36px;margin-left:auto;padding:7px 15px;font-size:.84rem}
.cms-editorial-policy-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0}
.cms-editorial-policy-card{display:block;min-width:0;margin:0;padding:20px 22px;background:#fff;border:0;border-bottom:1px solid #e9efeb}
.cms-editorial-policy-card:last-child{border-bottom:0}
.cms-editorial-policy-head{display:flex;align-items:center;gap:10px;margin:0 0 15px}
.cms-editorial-policy-head h3{margin:0;font-size:1.05rem;color:#20352a}
.cms-editorial-policy-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cms-editorial-page .cms-editorial-policy-fields label{display:grid;gap:7px;min-width:0;font-size:.86rem;color:#40574a}
.cms-editorial-page .cms-editorial-policy-fields label>span{display:block;font-weight:700}
.cms-editorial-page .cms-editorial-policy-fields label small{display:block;margin-top:2px;font-size:.74rem;font-weight:400;color:#8a978d}
.cms-editorial-page .cms-editorial-policy-fields input{width:100%;height:40px;min-width:0;padding:8px 10px;background:#fff;border:1px solid #ccd9d0;font-size:.92rem;color:#26382d}
.cms-editorial-advanced{margin-top:15px;border-top:1px solid #edf1ed}
.cms-editorial-advanced summary{width:max-content;max-width:100%;padding:12px 0 4px;color:#37664f;cursor:pointer;font-size:.85rem;font-weight:700}
.cms-editorial-advanced .cms-editorial-policy-json{display:grid;gap:7px;padding-top:8px;color:#67776c;font-size:.81rem}
.cms-editorial-page .cms-editorial-policy-json textarea{display:block;width:100%;min-height:200px;padding:12px;border:1px solid #ccd9d0;font-size:.81rem;line-height:1.5;resize:vertical}
.cms-editorial-policy-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:16px}
.cms-editorial-policy-actions .cms-btn{min-height:38px;padding:8px 15px;font-size:.85rem}
.cms-editorial-run-list{display:grid}
.cms-editorial-run-item{display:grid;grid-template-columns:minmax(155px,.85fr) minmax(180px,1.3fr) minmax(0,1.5fr);gap:16px;align-items:center;padding:16px 22px;border-bottom:1px solid #edf1ed;min-width:0}
.cms-editorial-run-item:last-child{border-bottom:0}
.cms-editorial-run-main{display:grid;gap:7px;justify-items:start}
.cms-editorial-run-main time{color:#617268;font-size:.84rem}
.cms-editorial-run-detail{display:grid;gap:5px;min-width:0}
.cms-editorial-run-detail strong{font-size:.9rem;line-height:1.45;color:#283c2f;overflow-wrap:anywhere}
.cms-editorial-run-detail span{font-size:.8rem;color:#7d8a81}
.cms-editorial-run-item p{margin:0;font-size:.84rem;color:#67766d;line-height:1.55;overflow-wrap:anywhere}
.cms-editorial-page .cms-editorial-review-list{display:grid;gap:0;padding:0}
.cms-editorial-page .cms-editorial-review-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-width:0;padding:17px 22px;border-bottom:1px solid #edf1ed}
.cms-editorial-page .cms-editorial-review-item:last-child{border-bottom:0}
.cms-editorial-review-item>div:first-child{min-width:0}
.cms-editorial-page .cms-editorial-review-item b{font-size:.95rem;line-height:1.45;color:#20352a;overflow-wrap:anywhere}
.cms-editorial-page .cms-editorial-review-item small{font-size:.79rem;line-height:1.45;color:#78867c;overflow-wrap:anywhere}
.cms-editorial-page .cms-editorial-review-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.cms-editorial-page .cms-editorial-review-actions .cms-icon-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;font-size:.84rem;text-decoration:none;white-space:nowrap}
.cms-editorial-publish-controls{display:flex;flex-wrap:wrap;gap:12px;padding:20px 22px}
.cms-editorial-publish-controls .cms-btn{min-height:42px;white-space:normal;text-align:center}
.cms-editorial-preview[hidden]{display:none!important}
.cms-editorial-preview{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(18,31,23,.72)}
.cms-editorial-preview-card{width:min(880px,100%);max-height:min(90vh,960px);display:flex;flex-direction:column;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.cms-editorial-preview-card header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #e3e9e4}
.cms-editorial-preview-card header small{display:block;color:#5e7465;font-size:.85rem}
.cms-editorial-preview-card header h2{margin:5px 0 0;font-size:1.35rem;line-height:1.4}
.cms-editorial-preview-body{overflow:auto;padding:22px 24px 30px;font-size:1rem;line-height:1.75}
.cms-editorial-preview-body>img{display:block;max-width:100%;max-height:380px;margin:0 auto 20px;object-fit:contain}
.cms-editorial-preview-summary{font-weight:600;color:#374f3f}
.cms-editorial-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#28372e}
.cms-editorial-preview-body dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 16px;margin-top:24px;padding-top:18px;border-top:1px solid #e3e9e4;font-size:.88rem}
.cms-editorial-preview-body dt{font-weight:700}.cms-editorial-preview-body dd{margin:0;overflow-wrap:anywhere}
.cms-editorial-preview-body a{color:#075f49}
.cms-editorial-page .cms-empty,.cms-editorial-page .cms-loading-line{padding:22px;color:#718077;font-size:.88rem}
@media(max-width:1100px){.cms-editorial-agent-grid{grid-template-columns:1fr}.cms-editorial-agent-card:nth-child(odd){border-right:0}.cms-editorial-policy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.cms-editorial-page .cms-shell{display:block}.cms-editorial-page .cms-main{padding:22px 20px 48px}.cms-editorial-panel{scroll-margin-top:105px}}
@media(max-width:650px){.cms-editorial-page .cms-main{padding:18px 14px 38px}.cms-editorial-header{align-items:start}.cms-editorial-header time{display:none}.cms-editorial-section-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.cms-editorial-section-nav a{flex:none}.cms-editorial-task-options{grid-template-columns:1fr}.cms-editorial-task-footer{align-items:stretch;flex-direction:column;gap:9px}.cms-editorial-page .cms-panel-head{padding:16px}.cms-editorial-task-body{padding:16px}.cms-editorial-agent-card,.cms-editorial-policy-card{padding:16px}.cms-editorial-agent-controls .cms-btn{margin-left:0}.cms-editorial-policy-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cms-editorial-run-item{grid-template-columns:1fr;gap:9px;padding:16px}.cms-editorial-run-main{display:flex;align-items:center;flex-wrap:wrap}.cms-editorial-page .cms-editorial-review-item{grid-template-columns:1fr;gap:10px;padding:16px}.cms-editorial-page .cms-editorial-review-actions{justify-content:flex-start}}
@media(max-width:650px){.cms-editorial-publish-controls{display:grid;padding:16px}.cms-editorial-preview{padding:0}.cms-editorial-preview-card{width:100%;height:100dvh;max-height:none}.cms-editorial-preview-card header{padding:16px}.cms-editorial-preview-body{padding:16px}.cms-editorial-preview-body dl{grid-template-columns:1fr;gap:2px}.cms-editorial-preview-body dd{margin-bottom:10px}}
@media(max-width:380px){.cms-editorial-policy-fields{grid-template-columns:1fr}}
.cms-publish-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cms-publish-actions .cms-btn{min-height:38px;font-size:14px;white-space:nowrap;cursor:pointer}
.cms-publish-actions .cms-btn:disabled{opacity:.55;cursor:wait}
.cms-bulk-report:not([hidden]){margin:0 0 16px;padding:12px 15px;border:1px solid #d8e7df;background:#f7fbf8;color:#30483a;font-size:14px;line-height:1.6;white-space:pre-wrap}
@media(max-width:600px){.cms-publish-actions{width:100%}.cms-publish-actions .cms-btn{flex:1}}
.cms-selection-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #edf1ef;background:#fbfcfb}
.cms-selection-bar span{margin-right:auto;color:#526159;font-size:14px}
.cms-selection-bar .cms-btn{min-height:36px;font-size:13px;cursor:pointer}
.cms-selection-bar .cms-btn:disabled{opacity:.5;cursor:not-allowed}
.cms-btn.cms-btn-danger{background:#fff0ef;color:#9d3029;border:1px solid #f0d0cc}
.cms-table-scroll{max-width:100%;overflow-x:auto}
.cms-table-scroll .cms-table{min-width:640px}
.cms-table .cms-select-cell{width:48px;min-width:48px;text-align:center;padding-left:12px;padding-right:8px}
.cms-select-cell input{width:18px;height:18px;accent-color:#075f49;cursor:pointer}
.cms-select-cell input:disabled{cursor:not-allowed}
.cms-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #edf1ef;font-size:12px;color:#526159}
.cms-pagination span{margin-right:auto}
.cms-pagination button{min-height:34px;min-width:34px;padding:6px 10px;border:1px solid #d6e3dc;border-radius:0;background:#fff;color:#075f49;font-weight:700;cursor:pointer}
.cms-pagination button:disabled{opacity:.45;cursor:not-allowed}
.cms-pagination button[aria-current="page"]{background:#245842;color:#fff;border-color:#245842;opacity:1}
.cms-admin-logout{display:block;width:100%;margin-top:12px;padding:10px 12px;border:1px solid #587467;border-radius:8px;background:transparent;color:#fff;text-align:left;font-size:12px;font-weight:700;cursor:pointer}
.cms-admin-logout:hover,.cms-admin-logout:focus-visible{background:#203a32}
@media(max-width:900px){.cms-sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.cms-brand{grid-column:1;grid-row:1;margin-bottom:0}.cms-nav{grid-column:1/-1;grid-row:2;display:flex;min-width:0;max-width:100%;overflow-x:auto}.cms-admin-logout{grid-column:2;grid-row:1;width:auto;margin:0 0 0 8px;white-space:nowrap}}
@media(max-width:600px){.cms-admin-logout{padding:8px 12px}}
@media(max-width:600px){.cms-selection-bar span{width:100%}.cms-selection-bar .cms-btn{flex:1}.cms-panel-head{gap:10px;flex-wrap:wrap}.cms-panel-head .cms-search{max-width:100%;flex:1}}

/* Service directory: a photo-led card on both desktop and mobile. */
.directory-wrap .business-card{display:flex;flex-direction:column;min-width:0;min-height:0}
.directory-wrap .business-cover{display:block;width:100%;height:210px;min-height:0;flex:none;overflow:hidden}
.directory-wrap .business-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.directory-wrap .business-body{display:flex!important;flex:1;flex-direction:column;min-width:0;min-height:0;padding:16px 18px 18px}
.directory-wrap .business-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.directory-wrap .business-action{margin-top:auto;padding-top:14px}
@media(max-width:650px){
  .directory-wrap .business-grid{display:grid;grid-template-columns:1fr!important;gap:16px}
  .directory-wrap .business-card{display:flex;grid-template-columns:none;background:#fff;border:1px solid #e5ebe8!important}
  .directory-wrap .business-cover{height:190px;min-height:0}
  .directory-wrap .business-body{padding:14px 16px 16px}
}

/* Practical tools: consistent desktop/mobile hierarchy, overriding legacy list/card rules. */
.tools-index .tools-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tools-index .tool-entry{display:flex;flex-direction:column;min-width:0;min-height:180px;padding:22px;border:1px solid #deddd5!important;border-radius:2px;background:#fbfaf7;box-shadow:none!important}
.tools-index .tool-entry .tool-entry-icon{display:grid;width:42px;height:42px;border-radius:2px;background:#e8eee9}
.tools-index .tool-entry h2{font-size:19px;margin:16px 0 6px;line-height:1.4}
.tools-index .tool-entry p,.tools-index .tool-entry b{font-size:14px;line-height:1.55}
.tools-index .tool-entry:focus-visible,.tool-side-box a:focus-visible,.tool-submit:focus-visible,.field-group input:focus-visible,.field-group select:focus-visible{outline:3px solid #3d826e;outline-offset:3px}
.tool-page-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}
.tool-panel,.tool-side-box,.result-box,.breakdown div,.holiday-item{border-radius:2px}
.tool-panel>p,.tool-source-note,.disclaimer,.tool-status,.tool-inline-hint{font-size:14px;line-height:1.65}
.tool-form .field-group label{font-size:14px}
.tool-form .field-group input,.tool-form .field-group select,.tool-submit{min-height:44px;font-size:15px;border-radius:2px}
.tool-form .field-group [aria-invalid="true"]{border-color:#a73830;box-shadow:0 0 0 2px rgba(167,56,48,.15)}
.tool-inline-hint{margin:0;color:#58675e}.tool-status{margin-top:14px;color:#526259}
.result-box strong{overflow-wrap:anywhere}.breakdown{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}
@media(max-width:1000px){.tools-index .tools-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-page-layout{grid-template-columns:1fr}}
@media(max-width:650px){.tools-index .tools-page-grid{grid-template-columns:1fr!important;gap:0}.tools-index .tool-entry{display:flex;min-height:0;padding:18px 4px;border:0!important;border-bottom:1px solid #deddd5!important;background:transparent}.tools-index .tool-entry .tool-entry-icon{display:none}.tools-index .tool-entry h2{font-size:17px;margin:0 0 4px}.tools-index .tool-entry b{padding-top:7px}.tool-page-wrap{padding:18px 0 40px}.tool-panel{padding:18px}.tool-panel h1{font-size:27px}.tool-form .form-row{grid-template-columns:1fr}.tool-side{display:none}}
.tool-refresh-panel{margin-top:18px}.tool-refresh-panel>p,.tool-refresh-panel #refreshSummary{padding:0 18px;color:#4d6056;font-size:14px;line-height:1.6}.tool-refresh-panel #refreshSummary{margin:12px 0}.tool-refresh-panel .cms-table{min-width:580px}.tool-refresh-panel td{vertical-align:top;overflow-wrap:anywhere}.tool-refresh-panel #refreshLogs{min-height:36px}
