/*
Theme Name: NATNT 奈特
Description: NATNT 固件、设备与网络知识网站。
Version: 1.0.0
Author: NATNT
License: GPL-2.0-or-later
Text Domain: natnt
*/
:root{--green:#087f75;--deep:#075b55;--ink:#193d39;--text:#36534f;--muted:#5d736c;--bg:#f4f8f7;--line:#deE9e5;--white:#fff;--mint:#e7f3ee;--gold:#8c6a27;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:15px;line-height:1.75;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a,button,input{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto}::selection{background:#bfe4d9}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b8954c;outline-offset:4px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.site-header{height:90px;border-bottom:1px solid var(--line);background:rgba(244,248,247,.97);position:relative;z-index:20}.header-inner{height:100%;display:flex;align-items:center;gap:40px}.logo{display:inline-flex;align-items:center}.logo img{width:160px;display:block}.main-nav{display:flex;gap:32px;margin:auto;align-items:center}.main-nav a{font-weight:550;color:#546b65;font-size:14px;position:relative;padding:12px 0}.main-nav a:hover,.main-nav a.active{color:var(--green)}.main-nav a.active:after{content:"";position:absolute;width:14px;height:3px;border-radius:3px;background:var(--green);bottom:2px;left:calc(50% - 7px)}.header-link{font-size:13px;display:flex;align-items:center;gap:9px}.header-link svg{width:16px}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:6px 12px;border-radius:8px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700;display:flex;align-items:center;gap:9px;text-transform:uppercase}.eyebrow:before{content:"";width:6px;height:6px;background:var(--green);border-radius:50%}.hero{padding:68px 0 64px;display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:64px}.hero h1{font-size:clamp(36px,3.5vw,50px);line-height:1.3;letter-spacing:-1.7px;margin:22px 0}.hero h1 em{font-style:normal;color:var(--green)}.hero-copy>p{color:var(--muted);font-size:15px;max-width:440px;line-height:1.95;margin:0 0 28px}.search-box{display:flex;align-items:center;background:#fff;border:1px solid #cbded6;border-radius:12px;padding:7px;box-shadow:0 5px 24px #234f3d05}.search-box>svg{width:20px;height:20px;margin:0 12px;color:var(--muted);flex:none}.search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;font-size:13px;padding:10px 0;color:var(--ink)}.search-box button,.button.primary{background:var(--green);border:1px solid var(--green);color:white;border-radius:8px;padding:10px 20px;white-space:nowrap;font-size:13px;font-weight:600}.search-box button:hover,.button.primary:hover{background:var(--deep)}.search-hints{font-size:12px;color:var(--muted);margin-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.search-hints a{color:var(--text);border-bottom:1px solid #bed3ca}.hero-art{position:relative;min-height:348px;background:#e9f1ec;border:1px solid #dce8e0;border-radius:24px;overflow:hidden;background-image:linear-gradient(#d3e2d657 1px,transparent 1px),linear-gradient(90deg,#d3e2d657 1px,transparent 1px);background-size:32px 32px}.art-label{position:absolute;left:25px;top:22px;font-size:10px;letter-spacing:2px;color:#6c8980}.art-end{position:absolute;right:25px;bottom:19px;font-family:monospace;font-size:10px;color:#7c968b;letter-spacing:1px}.hero-art svg.router-scene{position:absolute;width:100%;height:100%;left:0;top:0}.art-chip{position:absolute;display:flex;align-items:center;gap:8px;background:#ffffffed;border:1px solid #d5e5dc;border-radius:8px;box-shadow:0 4px 15px #13453206;font-size:11px;padding:8px 11px;color:#3a6458}.art-chip svg{width:15px;height:15px;color:var(--green)}.art-chip.a{right:25px;top:66px}.art-chip.b{left:22px;bottom:66px}.art-chip.c{right:27px;bottom:50px}.principles{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0;margin-bottom:55px}.principle{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--muted)}.principle+ .principle{border-left:1px solid var(--line)}.principle svg{width:20px;color:var(--green)}.principle b{color:var(--ink);font-size:13px;margin-right:8px}.section{margin-bottom:58px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px;gap:20px}.section-head h2{font-size:25px;letter-spacing:-.6px;margin:0 0 5px}.section-head p{font-size:13px;color:var(--muted);margin:0}.text-link{font-size:12px;color:var(--green);display:inline-flex;gap:8px;align-items:center;white-space:nowrap}.text-link svg{width:15px}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.device-card{display:grid;grid-template-columns:150px 1fr;gap:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:border-color .2s,transform .2s}.device-card:hover{border-color:#9bbfb0;transform:translateY(-3px)}.device-visual{border-radius:12px;background:#f3f7f4;display:grid;place-items:center;min-height:160px;position:relative}.device-visual>svg{width:140px;height:132px}.device-visual small{position:absolute;bottom:7px;font-size:9px;color:#91a29a;letter-spacing:1px}.device-brand{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.device-card h3{font-size:22px;margin:0 0 10px;line-height:1.3}.badge{font-size:10px;padding:3px 8px;display:inline-block;border-radius:5px;background:#f5f0e3;color:var(--gold);font-weight:500}.badge.verified{background:var(--mint);color:var(--green)}.device-card p{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0 17px}.device-card .text-link{font-size:12px}.cards-three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-card{padding:27px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:block;transition:border-color .2s}.guide-card:hover{border-color:#9bbfb0}.guide-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.guide-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#ecf5ef;color:var(--green)}.guide-icon svg{width:20px;height:20px}.guide-num{font-family:monospace;font-size:12px;color:#9aaeA4}.guide-card h3{font-size:17px;margin:0 0 10px}.guide-card p{font-size:12px;color:var(--muted);margin:0;line-height:1.9;min-height:45px}.guide-bottom{font-size:11px;color:var(--green);display:flex;align-items:center;justify-content:space-between;margin-top:22px}.guide-bottom svg{width:16px}.bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:52px}.update-row{display:grid;grid-template-columns:82px 1fr 18px;gap:16px;align-items:center;padding:21px 0;border-bottom:1px solid var(--line)}.update-row time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.update-row h3{font-size:14px;font-weight:550;margin:0}.update-row p{font-size:12px;color:var(--muted);margin:6px 0 0}.update-row svg{width:16px;color:var(--green)}.help-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;border-bottom:1px solid var(--line);padding:19px 0}.help-row svg{width:15px;color:var(--muted)}.join-panel{background:#e7f0e9;border:1px solid #d9e6db;border-radius:var(--radius);padding:27px 32px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:55px 0}.join-panel h3{font-size:18px;margin:0 0 5px}.join-panel p{font-size:12px;color:var(--muted);margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #b6cec1;padding:10px 18px;border-radius:8px;font-size:12px;background:#fff;color:var(--green)}.button svg{width:16px}.site-footer{border-top:1px solid var(--line);padding:34px 0 22px}.footer-main{display:flex;justify-content:space-between;align-items:center;gap:30px}.footer-brand img{width:122px;display:block;margin-bottom:10px}.footer-brand p{font-size:11px;color:var(--muted);margin:0}.footer-links{display:flex;gap:24px;font-size:12px;color:var(--text)}.footer-bottom{display:flex;justify-content:space-between;gap:25px;margin-top:28px;border-top:1px solid var(--line);padding-top:18px;font-size:10px;color:var(--muted)}.footer-bottom p{margin:0}.breadcrumbs{font-size:12px;color:var(--muted);margin:30px 0}.breadcrumbs a:hover{color:var(--green)}.page-heading{padding:15px 0 30px}.page-heading h1{font-size:36px;line-height:1.35;letter-spacing:-1px;margin:10px 0 14px}.page-heading p{color:var(--muted);max-width:700px;font-size:14px}.archive-tools{max-width:600px;margin:0 0 30px}.archive-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:50px}.notice{padding:16px 20px;background:#edf3ee;border:1px solid #d7e5dc;border-radius:10px;font-size:13px;color:#466755;margin:20px 0}.notice strong{color:var(--ink)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:42px;align-items:start;margin-bottom:65px}.article{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px 42px;min-width:0}.article h2{font-size:23px;line-height:1.5;margin:32px 0 16px}.article h2:first-child{margin-top:0}.article h3{font-size:18px;margin:24px 0 12px}.article p,.article li{font-size:14px;color:var(--text);line-height:1.95}.article a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.article ul,.article ol{padding-left:23px}.article table{border-collapse:collapse;width:100%;font-size:13px}.article td,.article th{padding:12px;border:1px solid var(--line);text-align:left;word-break:break-word}.article pre{overflow:auto;background:var(--bg);padding:15px;border-radius:8px}.article-meta{font-size:12px;color:var(--muted);margin:14px 0 0}.aside-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px}.aside-card h3{font-size:14px;margin:0 0 12px}.aside-card p{font-size:12px;color:var(--muted)}.aside-card a{display:block;font-size:12px;border-top:1px solid var(--line);padding:12px 0;color:var(--green)}.aside-card a:last-child{padding-bottom:0}.device-detail-top{display:flex;align-items:center;gap:30px}.device-detail-top .device-visual{width:190px;flex:none}.firmware-file{border:1px solid var(--line);border-radius:10px;padding:20px;margin:15px 0}.firmware-file code{overflow-wrap:anywhere;font-size:11px;display:block;margin-top:10px;color:var(--muted)}.empty-state{padding:36px;border:1px dashed #b8cfc1;border-radius:var(--radius);background:#edf4ef;margin-bottom:40px}.empty-state h2{font-size:21px;margin:0 0 12px}.empty-state p{font-size:14px;color:var(--muted);max-width:630px}.empty-state a{color:var(--green)}.pagination{display:flex;gap:10px;margin:25px 0 50px}.pagination a,.pagination span{padding:7px 13px;background:white;border:1px solid var(--line);border-radius:6px}.pagination .current{background:var(--green);color:white}.feedback-form label{display:block;margin:18px 0 7px;font-size:13px;font-weight:600}.feedback-form input,.feedback-form select,.feedback-form textarea{width:100%;border:1px solid #cbded6;border-radius:8px;background:#fff;padding:11px 12px;color:var(--ink)}.feedback-form textarea{min-height:150px;resize:vertical}.feedback-form .button{margin-top:20px}.feedback-form small{font-size:12px;color:var(--muted)}.screen-reader-text,.honey{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip:auto;z-index:1000;background:white;padding:10px}.search-results .archive-list{grid-template-columns:1fr 1fr}.site-main{min-height:60vh}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.admin-bar .site-header{top:0}
@media(min-width:1450px){.hero{padding-top:78px;padding-bottom:78px;gap:95px}.hero-art{min-height:375px}}
@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.header-inner{gap:24px}.main-nav{gap:22px}.header-link{display:none}.hero{gap:30px;padding:48px 0}.hero h1{font-size:38px}.device-card{padding:20px;grid-template-columns:110px 1fr;gap:18px}.device-visual>svg{width:108px}.guide-card{padding:22px}.bottom-grid{gap:30px}.article-layout{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.article{padding:28px}.footer-links{gap:16px}}
@media(max-width:720px){.wrap{width:calc(100% - 36px)}.site-header{height:72px}.logo img{width:134px}.header-inner{justify-content:space-between}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:71px;background:var(--bg);border-bottom:1px solid var(--line);padding:20px;box-shadow:0 10px 20px #133d3508;margin:0;flex-wrap:wrap;gap:12px 28px;justify-content:center}.main-nav.open{display:flex}.hero{grid-template-columns:1fr;padding:37px 0 30px;gap:30px}.hero h1{font-size:38px;line-height:1.35;margin:18px 0}.hero-copy>p{font-size:14px;margin-bottom:23px}.hero-art{min-height:280px}.search-box button{padding:10px 15px}.principles{margin-bottom:35px;padding:17px 0}.principle{flex-direction:column;gap:6px;text-align:center}.principle span{font-size:0}.principle b{font-size:11px;margin:0}.principle svg{width:19px}.section{margin-bottom:36px}.section-head{margin-bottom:18px;align-items:center}.section-head h2{font-size:22px}.section-head p{font-size:12px;max-width:235px}.text-link{font-size:11px}.device-grid,.cards-three,.archive-list,.bottom-grid,.search-results .archive-list{grid-template-columns:1fr}.device-card{grid-template-columns:112px 1fr;padding:20px;gap:20px}.device-visual{min-height:155px}.device-card h3{font-size:22px}.cards-three{gap:13px}.guide-card{padding:22px}.guide-top{margin-bottom:15px}.guide-card p{min-height:0}.guide-bottom{margin-top:16px}.bottom-grid{gap:32px}.join-panel{margin:35px 0;padding:24px;align-items:start;flex-direction:column;gap:18px}.join-panel h3{font-size:17px}.footer-main,.footer-bottom{align-items:start;flex-direction:column;gap:20px}.footer-links{gap:12px 22px;flex-wrap:wrap}.footer-bottom{gap:8px;margin-top:20px;padding-top:16px}.article-layout{grid-template-columns:1fr;gap:24px}.article{padding:25px 22px}.article h2{font-size:21px}.page-heading h1{font-size:29px}.breadcrumbs{margin-top:23px}.device-detail-top{align-items:start;gap:18px}.device-detail-top .device-visual{width:110px;min-height:130px}.device-detail-top h1{font-size:28px}.device-detail-top p{font-size:12px}.article-meta{font-size:11px}.page-heading{padding-bottom:20px}.update-row{grid-template-columns:75px 1fr 16px;gap:10px}.art-chip.a{right:15px;top:55px}.art-chip.b{left:15px;bottom:43px}.art-chip.c{right:16px;bottom:33px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:720px){.hero-art .art-chip.a{display:none}}
