/* Small functional additions. Geometry and theme colors follow the reference. */
@font-face{font-family:'Reference Icons';font-style:normal;font-weight:900;font-display:block;src:url('/assets/fa-solid-900.woff2') format('woff2')}
button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #06f;outline-offset:3px}#mnav,#search{border:0;background:none;padding:0}.header.container{width:100%;margin:0}.symbol{display:inline-block;width:14px;margin-right:4px;line-height:1;text-align:center;font-style:normal}.symbol.clock:before{content:'◷'}.symbol.eye:before{content:'◉'}.symbol.award:before{content:'♟'}.symbol.person:before{content:'♟'}.symbol.home-icon:before{content:'⌂'}.symbol.comment-icon:before{content:'▣'}.symbol.search-icon:before{content:'⌕';font-size:21px}.symbol.bars:before{content:'☰';font-size:19px}.search form input{background:white;color:#444}.search input::-webkit-search-cancel-button{-webkit-appearance:auto}.replica-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .35s}.replica-slide.is-active{opacity:1;pointer-events:auto}.replica-slide a{display:block;width:100%;height:100%}.replica-slide img{display:block;width:100%;height:100%;object-fit:cover}.replica-slide p{position:absolute;left:0;right:0;bottom:0;background:#0009;color:white;font-size:14px;height:40px;line-height:40px;padding:0 20% 0 3%;overflow:hidden}.slide-dots{position:absolute;bottom:14px;right:12px;display:flex;gap:5px}.slide-dots button{width:8px;height:8px;border:0;padding:0;background:#fff6;border-radius:50%}.slide-dots button.is-active{background:white}.tg-contact,.tg-channel{border-radius:5px;width:120px;height:40px;font-size:16px;line-height:40px;display:inline-block;color:white!important;text-align:center}.tg-contact{background:#f62020;box-shadow:1px 1px 4px #f62020cc}.tg-channel{background:#06f;box-shadow:1px 1px 4px #06f}.widget_tags li{overflow:hidden}.widget_tags li a{border-radius:5px}.index-post li .title{white-space:nowrap;text-overflow:ellipsis}.index-post .info .cate{max-width:100px;overflow:hidden;white-space:nowrap}.index-post .info span{margin-right:18px}.side-box{position:sticky;top:0}.plain-body{white-space:pre-wrap}.detail-ad img{width:100%;height:auto}.article_content video{display:block;max-height:600px;background:#111}.article_content img{cursor:default;display:block}.article_content{min-height:90px}.grid .list-box{display:flex;flex-wrap:wrap}.grid article{flex-shrink:0}.related li p{text-overflow:ellipsis;white-space:nowrap}#totop img{width:50px;height:50px}#goTopBtn{border:0;border-radius:50%;background:#06f;color:#fff;width:50px;height:50px;font-size:30px;box-shadow:0 4px 8px #0066ffb3}#goTopBtn[hidden]{display:none}#header{transition:transform .3s}#header.hide-header{transform:translateY(-65px)}.empty{padding:50px;text-align:center;margin:80px auto;max-width:700px}.empty h1{font-size:22px;margin-bottom:18px}.empty a{color:#06f}.loading{padding:100px;text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#343a40;color:#fff;border-radius:5px;opacity:0;pointer-events:none;z-index:200}#toast.show{opacity:1}dialog{display:none}#footer{clear:both;margin-bottom:0}.post_comments{min-height:0}.pagebar{clear:both}.grid .pagebar{box-shadow:none;background:transparent}#aside_about .avatar .img{border-radius:0}
@media(max-width:1200px){#header{left:3%;right:3%;margin:0;width:94%}.nav.mobile-open,.search.mobile-open{display:block}.nav{box-sizing:border-box}#mnav i,#search i{margin:0}.side-box{display:none}.index-post li .title{text-align:left}.index-post li .intro{text-align:left}.index-post .info{display:flex;align-items:center;gap:15px}.index-post li .cate{margin-right:0}.index-post .info .time{margin-right:0}.grid article{box-sizing:border-box}.header.container{width:100%;margin:0}}
@media(max-width:780px){.index-post li .title{font-size:14px;line-height:32px;height:32px;text-align:center;padding:.5em 1em 0}.index-post li .intro{height:32px;line-height:32px;text-align:center;padding:0 1em}.index-post li .info{justify-content:center;font-size:14px;height:32px;line-height:32px;padding:0 1em .5em}.index-post li .cate{max-width:110px}.swiper .replica-slide img{height:40vw}.post{padding:20px}.post .title .info{font-size:12px}.post .title .info span{margin-right:12px}.article_content{font-size:16px}.footer .fnav{padding:5px}.pagebar{padding:14px 5px}.pagebar a,.pagebar span{width:30px;height:30px;line-height:30px}#totop{right:10px;bottom:70px}.empty{padding:35px 20px;margin:80px 3%}}
@media(prefers-reduced-motion:reduce){#header,.replica-slide{transition:none}}
.symbol{font-family:'Reference Icons';font-weight:900;-webkit-font-smoothing:antialiased}.symbol.clock:before{content:'\f017'}.symbol.eye:before{content:'\f06e'}.symbol.award:before{content:'\f559'}.symbol.person:before{content:'\f501'}.symbol.home-icon:before{content:'\f015'}.symbol.comment-icon:before{content:'\f086'}.symbol.search-icon:before{content:'\f002';font-size:14px}.symbol.bars:before{content:'\f0c9';font-size:18px}
/* Warm ivory / forest palette. Shared tokens keep all public pages consistent. */
.widget_tags li[class]{box-shadow:none}.pagebar span,.pagebar a:hover{box-shadow:none}.widget_hotpost li:nth-child(n) i{background:var(--soft);color:var(--brand);box-shadow:none}.widget_hotpost li:nth-child(-n+3) i{background:#ede4d0;color:#785b2e}.article_content :is(h1,h2,h3,h4,h5,h6){border-left-color:var(--brand);background:var(--soft)}.article_content p{color:inherit}.index-post li.card{margin-bottom:20px}.index-post li .info span{color:var(--muted)}
:root{--brand:#235b50;--brand-dark:#173f38;--accent:#a88043;--surface:#fffefa;--canvas:#f3f4ef;--text:#263c36;--muted:#73817a;--edge:#e1e7de;--soft:#edf3ec}
body{background:var(--canvas);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--text);transition:color .18s}a:hover{color:var(--brand);text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible{outline-color:var(--brand)}
.card{background:var(--surface);box-shadow:0 3px 18px #243d3210}.br{border-radius:12px}
#header{background:var(--surface);box-shadow:0 4px 24px #243d3212;border-bottom:2px solid var(--edge)}
.nav li a{font-size:15px;font-weight:550;color:#46574e;transition:color .2s,background .2s}.nav li a:hover,.nav li.active>a{color:var(--brand);background:var(--soft)}
.search form input{background:var(--soft);color:var(--text);border-color:var(--edge)}.search .submit{background:var(--brand);color:#fff}.search .submit:hover{background:var(--brand-dark)}
#mnav,#search{color:var(--brand)}.breadcrumb a,.breadcrumb span{color:var(--muted)}
.index-post li.card{box-shadow:0 3px 18px #243d320b;transition:box-shadow .2s,transform .2s;overflow:hidden}
.index-post li.card:hover,.grid article:hover{box-shadow:0 8px 26px #243d3218;transform:translateY(-2px)}
.index-post li .title{font-weight:650;letter-spacing:.15px;color:var(--text)}.index-post li a:hover .title{color:var(--brand)}
.index-post li .intro{color:#738078}.index-post li .info{color:#8a958e}.index-post li .info .cate{color:var(--brand)}
.index-post li .img img,.grid article img,.related img{transition:transform .35s}.index-post li:hover .img img,.grid article:hover img{transform:scale(1.025)}
.grid article{transition:transform .2s,box-shadow .2s}.grid article h2{font-weight:600}.grid article .info{color:var(--muted)}
.replica-slide p{background:linear-gradient(transparent,#142f29d9);height:64px;line-height:84px;font-weight:500}.slide-dots button.is-active{background:#e5c991;width:20px;border-radius:8px}
.widget h4,.related h4{color:var(--text);font-weight:650;letter-spacing:.5px}.widget h4:before,.related h4:before{background:var(--brand)}
.widget_hotpost li i{color:var(--muted);background:var(--soft);border-radius:4px}.widget_hotpost li i.red{color:var(--accent);background:#f5efdf}.widget_hotpost li a,.widget_previous li a{color:#536158}
#aside_about .avatar .img{border-radius:50%;box-shadow:0 0 0 4px var(--surface)}#aside_about .wrap .title{color:var(--brand);font-weight:700}#aside_about .info{color:var(--muted)}
.tg-contact,.tg-channel{font-size:14px;font-weight:600;border-radius:8px;box-shadow:none;transition:background .2s,transform .2s}.tg-contact{background:var(--brand)}.tg-channel{background:#a08352}.tg-contact:hover{background:var(--brand-dark);transform:translateY(-1px)}.tg-channel:hover{background:#80663e;transform:translateY(-1px)}
.widget_tags li a{background:var(--soft)!important;color:var(--brand)!important;border-radius:6px;box-shadow:none}.widget_tags li a:hover{background:var(--brand)!important;color:white!important}
.pagebar a{background:var(--surface);color:var(--muted);border-radius:7px}.pagebar span,.pagebar a:hover{background:var(--brand);color:#fff;border-radius:7px}
.post .title h1{font-weight:700;letter-spacing:-.5px;line-height:1.55;color:var(--text)}.post .title .info{color:var(--muted)}.post .title{border-color:var(--edge)}
.article_content{color:#45564d;line-height:1.95}.article_content h2,.article_content h3{font-weight:650;color:var(--brand);margin:1.6em 0 .7em}.article_content p{margin-bottom:1.15em}.article_content a{color:var(--brand);text-decoration:underline;text-underline-offset:4px}.article_content blockquote{border-left:3px solid var(--accent);background:#f6f3e9;padding:16px 20px;color:#657060;border-radius:0 8px 8px 0}.article_content pre{background:#edf2ec;border:1px solid var(--edge);border-radius:8px;padding:18px;overflow:auto}.article_content img,.article_content video,.detail-ad img{border-radius:9px}.article_content video{width:100%;height:auto}.post .tags a{background:var(--soft);color:var(--brand)}
#footer{background:transparent;border-top:1px solid var(--edge);box-shadow:none;color:var(--muted);padding-top:16px}.footer a{color:var(--brand)}#goTopBtn{background:var(--brand);box-shadow:0 4px 14px #235b502b}#toast{background:var(--brand-dark)}
@media(max-width:1200px){.nav,.search{background:var(--surface);box-shadow:0 8px 20px #243d3214}.nav li a{border-radius:6px}}
@media(max-width:780px){.index-post li .title{text-align:left;font-size:16px;height:auto;line-height:1.65;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;padding:14px 16px 0}.index-post li .intro{text-align:left;font-size:13px;padding:4px 16px 0}.index-post li .info{justify-content:flex-start;font-size:12px;padding:4px 16px 12px;gap:12px}.post .title h1{font-size:23px}.post{padding:22px 18px}.article_content{font-size:16px}.br{border-radius:10px}.replica-slide p{font-size:12px}.index-post li.card:hover,.grid article:hover{transform:none}}
@media(prefers-reduced-motion:reduce){a,.index-post li.card,.grid article,.index-post li .img img,.grid article img,.related img,.tg-contact,.tg-channel{transition:none}}
.widget_hotpost li:nth-child(-n+3) i.red{background:#ede4d0;color:#785b2e;border-color:#e3d8bf;box-shadow:none}
