:root{--mf-bg:#f6f5f0;--mf-paper:#fffefa;--mf-muted:#728077;--mf-text:#202a27;--mf-line:#e1e5de;--mf-green:#126653;--mf-green-dark:#0d5142;--mf-soft:#e6f2ed}
html{scroll-behavior:smooth}
body{background:var(--mf-bg)!important;color:var(--mf-text);font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
body.mfcn-index-page #hd,body.mfcn-index-page #nv,body.mfcn-index-page #mu,body.mfcn-index-page #toptb,body.mfcn-index-page #hdc,body.mfcn-index-page #scbar{display:none!important}
body.mfcn-index-page #wp{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.mfcn-index-page #wp .wp{width:auto!important;max-width:none!important}
body.mfcn-index-page #ft{max-width:1404px;width:auto!important;margin:0 auto!important;padding:22px 28px!important;border-top:1px solid var(--mf-line);color:var(--mf-muted);font-size:11px}body.mfcn-index-page #ft a{color:var(--mf-muted)}body.mfcn-index-page #ft a:hover{color:var(--mf-green)}
.mfcn-index,.mfcn-index *{box-sizing:border-box}
.mfcn-index a{text-decoration:none}
.mfcn-topline{height:5px;background:linear-gradient(90deg,#145e4e 0 50%,#d3a64b 50% 56%,#e2e7db 56%)}
.mfcn-custom-header{background:var(--mf-paper);border-bottom:1px solid var(--mf-line);position:relative;z-index:2}
.mfcn-header-inner{max-width:1460px;min-height:76px;padding:0 28px;margin:auto;display:flex;align-items:center;gap:36px}
.mfcn-brand{display:flex;align-items:center;gap:12px;flex:none;color:var(--mf-text)!important}
.mfcn-brand-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--mf-green);color:#fff;border-radius:10px;font-size:23px;font-weight:700}
.mfcn-brand strong{display:block;font-size:17px;line-height:1.25}.mfcn-brand small{display:block;font-size:9px;color:var(--mf-muted);letter-spacing:1.6px;margin-top:3px}
.mfcn-header-nav{display:flex;align-items:center;gap:26px;height:76px}.mfcn-header-nav a{display:flex;align-items:center;height:100%;color:var(--mf-muted)!important;font-size:13px;font-weight:600;position:relative}.mfcn-header-nav a:hover,.mfcn-header-nav a.current{color:var(--mf-text)!important}.mfcn-header-nav a.current:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--mf-green)}
.mfcn-custom-search{margin-left:auto;display:flex;align-items:center;background:#f0efe9;border-radius:9px;height:38px;width:235px;flex:none}.mfcn-custom-search input{background:transparent;border:0!important;box-shadow:none!important;outline:0!important;flex:1;min-width:0;padding:0 11px!important;color:var(--mf-text);height:38px}.mfcn-custom-search button{border:0;background:transparent;color:var(--mf-muted);font-size:22px;width:34px;height:38px;cursor:pointer}
.mfcn-header-actions{display:flex;align-items:center;gap:9px}.mfcn-theme-button{border:1px solid var(--mf-line);background:var(--mf-paper);color:var(--mf-text);height:38px;width:38px;border-radius:8px;cursor:pointer}.mfcn-login-link{white-space:nowrap;padding:10px 13px;border:1px solid var(--mf-line);border-radius:8px;color:var(--mf-text)!important;font-size:11px;font-weight:600}.mfcn-header-primary{white-space:nowrap;background:var(--mf-green);color:#fff!important;border-radius:8px;padding:11px 16px;font-size:11px;font-weight:700}.mfcn-header-primary:hover,.mfcn-welcome a:hover{background:var(--mf-green-dark)}
.mfcn-index{max-width:1460px;margin:0 auto;padding:32px 28px 68px;display:grid;grid-template-columns:205px minmax(0,1fr) 260px;gap:30px;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
.mfcn-custom-header .mfcn-header-inner{box-sizing:border-box}
.mfcn-index .mfcn-main{min-width:0}.mfcn-sticky{position:sticky;top:24px}.mfcn-side-label{color:#9ca8a0;font-size:10px;letter-spacing:1.4px;font-weight:700;margin:0 0 12px 10px}.mfcn-side-link{display:flex;align-items:center;gap:10px;height:38px;padding:0 10px;margin:2px 0;border-radius:8px;color:var(--mf-muted)!important;font-size:12px}.mfcn-side-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mfcn-side-link:hover,.mfcn-side-active{background:var(--mf-soft);color:var(--mf-green)!important}.mfcn-side-divider{height:1px;background:var(--mf-line);margin:20px 8px}
.mfcn-hero{min-height:245px;border-radius:17px;background:#123e35;color:#fff;padding:29px 34px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.mfcn-hero:before{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%;width:420px;height:420px;right:-100px;top:-145px;box-shadow:0 0 0 58px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.02)}.mfcn-hero-copy{position:relative;z-index:1}.mfcn-eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#b9d8ca}.mfcn-hero h1{color:#fff;font-size:31px;line-height:1.38;margin:16px 0 10px}.mfcn-hero p{color:#c5d9ce;font-size:12px;line-height:1.8;max-width:480px;margin:0}.mfcn-hero-actions{display:flex;gap:10px;margin-top:22px}.mfcn-hero-button,.mfcn-hero-outline{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:9px 15px;font-size:11px;font-weight:700}.mfcn-hero-button{background:#eacb8d;color:#2d4835!important}.mfcn-hero-outline{border:1px solid rgba(255,255,255,.3);color:#e7f1eb!important}.mfcn-hero-emblem{font-size:68px;color:#fff;opacity:.9;font-weight:700;z-index:1;margin:0 45px 0 10px}
.mfcn-section{margin-top:34px}.mfcn-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:16px}.mfcn-section-head h2{font-size:19px;color:var(--mf-text);line-height:1.4;margin:0}.mfcn-section-head p{color:var(--mf-muted);font-size:11px;margin:3px 0 0}.mfcn-section-head>a{font-size:11px;color:var(--mf-green)!important;font-weight:700;white-space:nowrap}
.mfcn-category-group{margin:0 0 22px}.mfcn-category-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}.mfcn-category-title h3{font-size:13px;margin:0}.mfcn-category-title a{color:var(--mf-text)!important}.mfcn-category-title span{font-size:10px;color:var(--mf-muted)}.mfcn-board-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mfcn-board-card{min-width:0;min-height:110px;padding:15px 13px;background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:12px;display:flex;flex-direction:column;transition:.2s}.mfcn-board-card:hover{transform:translateY(-2px);border-color:#a7c9b9;box-shadow:0 12px 30px rgba(21,49,36,.06)}.mfcn-board-icon{height:30px;width:30px;display:grid;place-items:center;background:var(--mf-soft);border-radius:8px;color:var(--mf-green);margin-bottom:10px;overflow:hidden}.mfcn-board-icon:empty:after{content:"✳";font-size:15px}.mfcn-board-icon img{width:26px;height:26px;object-fit:contain}.mfcn-board-card strong{color:var(--mf-text);font-size:12px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mfcn-board-card small{color:var(--mf-muted);font-size:10px;line-height:1.5;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.mfcn-tag-cloud{display:flex;flex-wrap:wrap;gap:8px}.mfcn-tag{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:7px;color:var(--mf-muted)!important;padding:7px 11px;font-size:11px}.mfcn-tag:hover{color:var(--mf-green)!important;border-color:var(--mf-green);background:var(--mf-soft)}.mfcn-empty-note{color:var(--mf-muted);font-size:11px;margin:0;background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:10px;padding:17px}
.mfcn-feed{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;overflow:hidden}.mfcn-feed-row{display:flex;align-items:start;gap:13px;padding:18px 19px;border-bottom:1px solid var(--mf-line)}.mfcn-feed-row:hover{background:var(--mf-soft)}.mfcn-feed-mark{flex:none;width:32px;height:32px;display:grid;place-items:center;background:var(--mf-soft);color:var(--mf-green);border-radius:9px}.mfcn-feed-row>div{min-width:0;flex:1}.mfcn-feed-title{color:var(--mf-text)!important;font-size:13px;font-weight:700;line-height:1.6}.mfcn-feed-title:hover{color:var(--mf-green)!important}.mfcn-feed-meta{display:flex;gap:7px;align-items:center;color:var(--mf-muted);font-size:10px;margin-top:5px}.mfcn-feed-meta a{color:var(--mf-green)!important}.mfcn-feed-count{white-space:nowrap;color:var(--mf-muted);font-size:10px}.mfcn-feed-more{text-align:center;padding:13px}.mfcn-feed-more a{color:var(--mf-green)!important;font-size:11px;font-weight:700}
.mfcn-friends{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:12px;padding:20px}.mfcn-friends .mfcn-section-head{margin:0 0 13px}.mfcn-friends-content{font-size:12px;line-height:2}.mfcn-friend-images,.mfcn-friend-text{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:0;padding:0}.mfcn-friends-content a{color:var(--mf-muted)!important}.mfcn-friends-content a:hover{color:var(--mf-green)!important}.mfcn-friends .mfcn-empty-note{border-style:dashed}.mfcn-sitemap-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:13px 0;border-top:1px solid var(--mf-line)}.mfcn-sitemap-group h3{font-size:11px;color:var(--mf-text);margin:0 9px 0 0}.mfcn-sitemap-group a{font-size:11px;color:var(--mf-muted)!important}.mfcn-sitemap-group a:hover{color:var(--mf-green)!important}
.mfcn-welcome{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;padding:21px}.mfcn-welcome-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:var(--mf-soft);color:var(--mf-green);font-size:20px}.mfcn-welcome h2{font-size:15px;color:var(--mf-text);margin:15px 0 8px}.mfcn-welcome p{font-size:11px;color:var(--mf-muted);line-height:1.8;margin:0}.mfcn-welcome a{display:block;margin-top:17px;background:var(--mf-green);color:#fff!important;border-radius:8px;padding:10px;text-align:center;font-size:11px;font-weight:700}.mfcn-aside-block{margin-top:27px}.mfcn-aside-block h3{font-size:13px;margin:0 0 12px;border-bottom:1px solid var(--mf-line);padding-bottom:10px}.mfcn-aside-block dl{margin:0}.mfcn-aside-block dl>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--mf-line);padding:9px 2px}.mfcn-aside-block dt{font-size:11px;color:var(--mf-muted)}.mfcn-aside-block dd{font-size:11px;color:var(--mf-text);font-weight:700;margin:0}.mfcn-aside-note{background:#e9eee7;border:1px solid #dfe7db;border-radius:11px;padding:15px;margin-top:25px}.mfcn-aside-note strong{font-size:10px;color:var(--mf-green);letter-spacing:1px}.mfcn-aside-note p{color:#677b6e;font-size:11px;line-height:1.8;margin:6px 0 0}
body.mfcn-dark{--mf-bg:#131b18;--mf-paper:#1c2721;--mf-muted:#a4b4a8;--mf-text:#ecf1ea;--mf-line:#344137;--mf-green:#81c8a8;--mf-green-dark:#4fa780;--mf-soft:#213a2e}body.mfcn-dark .mfcn-custom-search{background:#253029}body.mfcn-dark .mfcn-hero{background:#214c3d}body.mfcn-dark .mfcn-aside-note{background:#20362a;border-color:#314738}body.mfcn-dark .mfcn-aside-note p{color:#aec5b3}
@media(max-width:1250px){.mfcn-index{grid-template-columns:190px minmax(0,1fr);gap:23px}.mfcn-aside{display:none}.mfcn-header-nav{gap:17px}.mfcn-header-inner{gap:20px}}
@media(max-width:900px){.mfcn-index{grid-template-columns:1fr;padding:21px 18px 50px}.mfcn-sidebar{display:none}.mfcn-custom-search{display:none}.mfcn-header-nav{margin-left:auto}.mfcn-header-inner{padding:0 18px}}
@media(max-width:680px){.mfcn-header-inner{min-height:65px;gap:10px;padding:0 15px}.mfcn-brand-icon{width:32px;height:32px;font-size:19px}.mfcn-brand strong{font-size:14px}.mfcn-brand small{font-size:8px}.mfcn-header-nav{display:none}.mfcn-header-actions{margin-left:auto}.mfcn-login-link,.mfcn-theme-button{display:none}.mfcn-header-primary{padding:9px 10px}.mfcn-hero{min-height:230px;padding:24px}.mfcn-hero h1{font-size:25px}.mfcn-hero-emblem{display:none}.mfcn-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mfcn-section{margin-top:28px}.mfcn-section-head h2{font-size:17px}.mfcn-feed-row{padding:14px}.mfcn-feed-count{display:none}}

/* v1.6: thread reading surface and horizontal homepage links. */
body.mfcn-index-page #mfcn-friends .mfcn-friends-content,
body.mfcn-index-page #mfcn-friends .mfcn-friends-content ul,
body.mfcn-index-page #mfcn-friends .mfcn-friend-images,
body.mfcn-index-page #mfcn-friends .mfcn-friend-text,
body.mfcn-index-page #mfcn-friends .mfcn-friend-description{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content>ul,
body.mfcn-index-page #mfcn-friends .mfcn-friends-content>.mfcn-friend-text{width:100%}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content li{display:inline-flex;align-items:center;margin:0;padding:0;list-style:none;line-height:1.8}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content a{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid var(--mf-line);border-radius:7px;background:var(--mf-bg);color:var(--mf-muted)!important;white-space:nowrap}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content a:hover{background:var(--mf-soft);border-color:#a7c9b9;color:var(--mf-green)!important}
body.mfcn-index-page #ft .pipe{margin:0 7px;color:var(--mf-line)}
body.mfcn-index-page #ft .z,body.mfcn-index-page #ft .y{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px}


.mfcn-index>.mfcn-friends{grid-column:1/-1;margin-top:4px}
@media(max-width:680px){body.mfcn-index-page #mfcn-friends{padding:16px}body.mfcn-index-page #mfcn-friends .mfcn-friends-content{gap:7px}body.mfcn-index-page #mfcn-friends .mfcn-friends-content a{font-size:11px;white-space:normal}}
/* v1.7 homepage: align the live Discuz layout with the original design concept. */
body.mfcn-index-page{min-width:0!important;width:100%!important;overflow-x:hidden}
body.mfcn-index-page .mfcn-index{max-width:1490px;grid-template-columns:215px minmax(0,1fr) 270px;gap:32px;padding:31px 34px 70px}
body.mfcn-index-page .mfcn-sidebar{padding-top:5px}
body.mfcn-index-page .mfcn-sticky{top:104px}
body.mfcn-index-page .mfcn-side-link{min-height:39px;margin:3px 0;padding:0 12px;border-radius:9px;font-size:12px;font-weight:600}
body.mfcn-index-page .mfcn-side-icon{display:inline-grid;place-items:center;width:18px;flex:none;color:#8e9b93;font-size:16px;font-weight:400}
body.mfcn-index-page .mfcn-side-foot{margin:30px 12px 0;color:var(--mf-muted);font-size:10px;line-height:1.8}
body.mfcn-index-page .mfcn-brand{gap:13px}
body.mfcn-index-page .mfcn-brand small{letter-spacing:1.3px}
body.mfcn-index-page .mfcn-hero{min-height:360px;padding:37px 42px;box-shadow:0 18px 55px rgba(21,49,36,.055)}
body.mfcn-index-page .mfcn-hero:before{width:480px;height:480px;right:-155px;top:-145px;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 116px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.018)}
body.mfcn-index-page .mfcn-hero:after{content:"✳";position:absolute;right:78px;top:23px;color:#e1bb72;font-size:28px}
body.mfcn-index-page .mfcn-hero-copy{max-width:540px}
body.mfcn-index-page .mfcn-eyebrow:before{content:"";display:inline-block;width:22px;height:1px;margin-right:8px;background:#a9d7c3;vertical-align:middle}
body.mfcn-index-page .mfcn-hero h1{font-size:32px;line-height:1.34;margin:27px 0 15px}
body.mfcn-index-page .mfcn-hero p{max-width:520px;font-size:13px;line-height:1.85}
body.mfcn-index-page .mfcn-hero-actions{margin-top:28px}
body.mfcn-index-page .mfcn-hero-button,body.mfcn-index-page .mfcn-hero-outline{min-height:43px;padding:10px 17px;font-size:12px}
body.mfcn-index-page .mfcn-hero-emblem{position:absolute;right:47px;bottom:31px;margin:0;text-align:right;line-height:1}
body.mfcn-index-page .mfcn-hero-emblem strong{display:block;font-size:60px;font-weight:600;letter-spacing:-5px}
body.mfcn-index-page .mfcn-hero-emblem small{display:block;margin-top:8px;color:#b7d5c8;font-size:10px;letter-spacing:2px}
body.mfcn-index-page .mfcn-section{margin-top:42px}
body.mfcn-index-page .mfcn-section-head{margin-bottom:17px}
body.mfcn-index-page .mfcn-section-head h2{font-size:20px;letter-spacing:-.3px}
body.mfcn-index-page .mfcn-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body.mfcn-index-page .mfcn-featured-card{display:flex;flex-direction:column;min-width:0;min-height:143px;padding:17px 15px;border:1px solid var(--mf-line);border-radius:12px;background:var(--mf-paper);transition:transform .18s,border-color .18s,box-shadow .18s}
body.mfcn-index-page .mfcn-featured-card:hover{transform:translateY(-3px);border-color:#9ec5b2;box-shadow:0 15px 35px rgba(21,49,36,.075)}
body.mfcn-index-page .mfcn-featured-icon{display:grid;place-items:center;width:36px;height:36px;margin-bottom:14px;border-radius:9px;background:var(--mf-soft);color:var(--mf-green);font-size:20px;line-height:1}
body.mfcn-index-page .mfcn-featured-card strong{font-size:13px;line-height:1.4;color:var(--mf-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mfcn-index-page .mfcn-featured-card small{margin-top:5px;color:var(--mf-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mfcn-index-page .mfcn-feed-top{display:flex;align-items:center;gap:22px;min-height:58px;padding:0 21px;border-bottom:1px solid var(--mf-line)}
body.mfcn-index-page .mfcn-feed-tab{position:relative;display:flex;align-items:center;align-self:stretch;font-size:12px;font-weight:700;color:var(--mf-muted)!important}
body.mfcn-index-page .mfcn-feed-tab.is-active{color:var(--mf-text)!important}
body.mfcn-index-page .mfcn-feed-tab.is-active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--mf-green)}
body.mfcn-index-page .mfcn-feed-top>span{margin-left:auto;color:var(--mf-muted);font-size:11px}
body.mfcn-index-page .mfcn-aside{padding-top:1px}
body.mfcn-index-page .mfcn-welcome{padding:23px}
body.mfcn-index-page .mfcn-welcome-icon{width:38px;height:38px;margin-bottom:18px;font-size:20px}
body.mfcn-index-page .mfcn-welcome h2{font-size:16px;margin:0 0 10px}
body.mfcn-index-page .mfcn-welcome p{font-size:12px;line-height:1.85}
body.mfcn-index-page .mfcn-welcome a{margin-top:19px;padding:12px}
body.mfcn-index-page .mfcn-aside-heading{display:flex;align-items:center;justify-content:space-between;padding:0 2px 11px;border-bottom:1px solid var(--mf-line)}
body.mfcn-index-page .mfcn-aside-heading h3{padding:0;margin:0;border:0;font-size:14px}
body.mfcn-index-page .mfcn-aside-heading small{color:var(--mf-muted);font-size:10px}
body.mfcn-index-page .mfcn-hot-row{display:flex;align-items:flex-start;gap:11px;padding:15px 3px;border-bottom:1px solid var(--mf-line);color:var(--mf-text)!important}
body.mfcn-index-page .mfcn-hot-row:hover strong{color:var(--mf-green)}
body.mfcn-index-page .mfcn-hot-rank{flex:0 0 25px;color:#bec9bf;font-size:18px;line-height:1.2;font-weight:700}
body.mfcn-index-page .mfcn-hot-row:nth-of-type(2) .mfcn-hot-rank{color:#c99d50}
body.mfcn-index-page .mfcn-hot-row:nth-of-type(3) .mfcn-hot-rank{color:#79978a}
body.mfcn-index-page .mfcn-hot-copy{min-width:0}
body.mfcn-index-page .mfcn-hot-copy strong{display:block;font-size:11px;line-height:1.6;color:var(--mf-text)}
body.mfcn-index-page .mfcn-hot-copy small{display:block;margin-top:4px;color:var(--mf-muted);font-size:10px;line-height:1.5}
body.mfcn-index-page .mfcn-aside-note{margin-top:27px;padding:17px}
body.mfcn-index-page .mfcn-all-boards{padding-top:0;border-top:0}
@media(max-width:1250px){body.mfcn-index-page .mfcn-index{grid-template-columns:190px minmax(0,1fr);gap:24px;padding-left:21px;padding-right:21px}body.mfcn-index-page .mfcn-aside{display:none}}
@media(max-width:900px){body.mfcn-index-page .mfcn-index{display:block;padding:22px 18px 52px}body.mfcn-index-page .mfcn-sidebar{display:block;margin-bottom:18px;padding:0}body.mfcn-index-page .mfcn-sidebar .mfcn-sticky{position:static;display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:none}body.mfcn-index-page .mfcn-sidebar .mfcn-side-label,body.mfcn-index-page .mfcn-sidebar .mfcn-side-divider,body.mfcn-index-page .mfcn-sidebar .mfcn-side-foot{display:none}body.mfcn-index-page .mfcn-sidebar .mfcn-side-link{flex:none;width:auto;margin:0;padding:0 12px;white-space:nowrap}body.mfcn-index-page .mfcn-sidebar .mfcn-sticky::-webkit-scrollbar{display:none}body.mfcn-index-page .mfcn-hero{min-height:290px}body.mfcn-index-page .mfcn-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.mfcn-index-page .mfcn-index{padding:16px 14px 42px}body.mfcn-index-page .mfcn-header-inner{flex-wrap:wrap;min-height:0;padding-top:10px;gap:0 10px}body.mfcn-index-page .mfcn-header-nav{display:flex;order:3;flex:0 0 100%;height:42px;gap:18px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}body.mfcn-index-page .mfcn-header-nav::-webkit-scrollbar{display:none}body.mfcn-index-page .mfcn-header-nav a{flex:none;height:42px;font-size:12px}body.mfcn-index-page .mfcn-header-actions{margin-left:auto}body.mfcn-index-page .mfcn-hero{min-height:290px;padding:25px}body.mfcn-index-page .mfcn-hero h1{font-size:26px;margin:20px 0 12px}body.mfcn-index-page .mfcn-hero p{font-size:11px}body.mfcn-index-page .mfcn-hero-emblem{display:none}body.mfcn-index-page .mfcn-section{margin-top:30px}body.mfcn-index-page .mfcn-featured-grid{gap:9px}body.mfcn-index-page .mfcn-featured-card{min-height:125px;padding:13px}body.mfcn-index-page .mfcn-featured-card strong{font-size:12px}body.mfcn-index-page .mfcn-feed-top{padding:0 13px;gap:15px}body.mfcn-index-page .mfcn-feed-top>span{display:none}}
body.mfcn-index-page .mfcn-header-nav a.current{color:var(--mf-text)!important}
body.mfcn-index-page .mfcn-index>.mfcn-friends{grid-column:1/-1;margin-top:0}
body.mfcn-index-page .mfcn-featured-card:focus-visible,body.mfcn-index-page .mfcn-side-link:focus-visible,body.mfcn-index-page .mfcn-hot-row:focus-visible{outline:2px solid var(--mf-green);outline-offset:3px}
body.mfcn-dark.mfcn-index-page .mfcn-hero{background:#214c3d}
body.mfcn-dark.mfcn-index-page .mfcn-featured-card,body.mfcn-dark.mfcn-index-page .mfcn-welcome{background:var(--mf-paper)}
@media(max-width:620px){body.mfcn-index-page .mfcn-hero{min-height:270px}body.mfcn-index-page .mfcn-brand{min-width:0}body.mfcn-index-page .mfcn-brand strong{font-size:13px}body.mfcn-index-page .mfcn-header-primary{font-size:10px}body.mfcn-index-page .mfcn-friends-content{min-width:0}}
body.mfcn-index-page .mfcn-hot-empty{margin:12px 2px 0;color:var(--mf-muted);font-size:11px;line-height:1.7}
body.mfcn-index-page .mfcn-featured-grid,.mfcn-index .mfcn-board-grid{min-width:0}
@media(max-width:1250px) and (min-width:901px){body.mfcn-index-page .mfcn-header-inner{gap:16px}body.mfcn-index-page .mfcn-custom-search{width:175px}body.mfcn-index-page .mfcn-header-nav{gap:12px}body.mfcn-index-page .mfcn-header-nav a{font-size:12px}}
@media(max-width:620px){body.mfcn-index-page .mfcn-hero-actions{flex-wrap:wrap}body.mfcn-index-page .mfcn-featured-card strong{white-space:normal}body.mfcn-index-page .mfcn-featured-card small{white-space:normal}body.mfcn-index-page .mfcn-feed-title{overflow-wrap:anywhere}}

/* v2.8: shared MFCN logo asset. */
.mfcn-brand-icon{overflow:hidden;box-sizing:border-box;flex:none}
.mfcn-brand-icon img{display:block;width:100%;height:100%;object-fit:contain}

/* v3.2: compact homepage friend links and the space before the shared footer. */
body.mfcn-index-page #mfcn-friends.mfcn-friends{box-sizing:border-box;min-width:0}
body.mfcn-index-page .mfcn-index{padding-bottom:20px}
body.mfcn-index-page #mfcn-friends.mfcn-friends{
  width:100%;
  max-width:1320px;
  justify-self:center;
  display:grid;
  grid-template-columns:minmax(150px,220px) minmax(0,1fr);
  align-items:center;
  gap:12px 24px;
  margin-top:0;
  padding:9px 18px;
}
body.mfcn-index-page #mfcn-friends .mfcn-section-head{margin:0;align-items:center}
body.mfcn-index-page #mfcn-friends .mfcn-section-head h2{font-size:16px}
body.mfcn-index-page #mfcn-friends .mfcn-section-head p{font-size:10px}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content,
body.mfcn-index-page #mfcn-friends .mfcn-friends-content ul,
body.mfcn-index-page #mfcn-friends .mfcn-friend-images,
body.mfcn-index-page #mfcn-friends .mfcn-friend-text,
body.mfcn-index-page #mfcn-friends .mfcn-friend-description{
  width:auto;
  justify-content:flex-end;
  gap:7px 9px;
  line-height:1.4;
}
body.mfcn-index-page #mfcn-friends .mfcn-friends-content a{min-height:27px;padding:3px 9px;font-size:11px}
body.mfcn-index-page #mfcn-site-footer.mfcn-site-footer{margin-top:12px!important}
@media(max-width:700px){
  body.mfcn-index-page .mfcn-index{padding-bottom:18px}
  body.mfcn-index-page #mfcn-friends.mfcn-friends{grid-template-columns:1fr;gap:8px;padding:11px 14px}
  body.mfcn-index-page #mfcn-friends .mfcn-friends-content,
  body.mfcn-index-page #mfcn-friends .mfcn-friends-content ul,
  body.mfcn-index-page #mfcn-friends .mfcn-friend-images,
  body.mfcn-index-page #mfcn-friends .mfcn-friend-text,
  body.mfcn-index-page #mfcn-friends .mfcn-friend-description{justify-content:flex-start}
  body.mfcn-index-page #mfcn-site-footer.mfcn-site-footer{margin-top:10px!important}
}

/* v3.58: keep the compact friend-link title free of inherited divider lines. */
body.mfcn-index-page #mfcn-friends .mfcn-section-head,
body.mfcn-index-page #mfcn-friends .mfcn-section-head > div,
body.mfcn-index-page #mfcn-friends .mfcn-section-head h2{
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background-image:none!important;
}
body.mfcn-index-page #mfcn-friends .mfcn-section-head::before,
body.mfcn-index-page #mfcn-friends .mfcn-section-head::after,
body.mfcn-index-page #mfcn-friends .mfcn-section-head > div::before,
body.mfcn-index-page #mfcn-friends .mfcn-section-head > div::after,
body.mfcn-index-page #mfcn-friends .mfcn-section-head h2::before,
body.mfcn-index-page #mfcn-friends .mfcn-section-head h2::after{
  content:none!important;
  display:none!important;
}
