@charset "utf-8";
/* 向日葵远程 · 终端手册（深色极客终端风，与 xrkb 粉色卡片 / xrqa 青绿社区风区分） */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Consolas,"Cascadia Mono","JetBrains Mono","Microsoft YaHei",monospace;font-size:14px;
  color:#c9d5d2;background:#0d1117;line-height:1.7}
a{text-decoration:none;color:inherit}
ul,li{list-style:none}
svg{vertical-align:middle;max-width:100%}
::selection{background:#2ea04366;color:#fff}

/* 顶栏：仿终端标签页 */
.thd{background:#161b22;border-bottom:1px solid #30363d;position:sticky;top:0;z-index:20}
.thd_in{max-width:1200px;margin:0 auto;height:52px;display:flex;align-items:center;padding:0 18px;gap:8px}
.tdots{display:flex;gap:6px;margin-right:12px}
.tdots i{width:11px;height:11px;border-radius:50%;display:block}
.tdots i:nth-child(1){background:#ff5f56}
.tdots i:nth-child(2){background:#ffbd2e}
.tdots i:nth-child(3){background:#27c93f}
.thd_logo{display:flex;align-items:center;color:#e6edf3;font-size:14px;font-weight:bold;margin-right:20px}
.thd_logo img{height:22px;border-radius:4px;margin-right:8px}
.thd_tab{font-size:13px;color:#8b949e;padding:6px 13px;border-radius:6px 6px 0 0;border:1px solid transparent}
.thd_tab:hover{color:#c9d5d2;background:#1c2128}
.thd_tab._on{color:#7ee787;background:#0d1117;border-color:#30363d;border-bottom-color:#0d1117}
.thd_dl{margin-left:auto;font-size:13px;color:#0d1117;background:#2ea043;padding:6px 16px;border-radius:6px;font-weight:bold}
.thd_dl:hover{background:#3fb950}

.twrap{max-width:1200px;margin:0 auto;padding:22px 18px}

/* 命令行式页头 */
.thero{border:1px solid #30363d;border-radius:8px;background:#161b22;padding:18px 20px;margin-bottom:18px}
.tline{font-size:13px;color:#8b949e;margin-bottom:6px}
.tline .pr{color:#2ea043;font-weight:bold}
.tline .cm{color:#79c0ff}
.tline .fl{color:#d2a8ff}
.thero h1{font-size:21px;color:#e6edf3;margin:10px 0 8px;font-weight:bold}
.thero p{font-size:13px;color:#8b949e;max-width:840px}
.tsearch{margin-top:15px;display:flex;align-items:center;border:1px solid #30363d;border-radius:6px;background:#0d1117;max-width:540px;padding:0 12px}
.tsearch b{color:#2ea043;margin-right:8px;font-weight:bold}
.tsearch input{flex:1;background:transparent;border:0;outline:none;height:40px;color:#c9d5d2;font-family:inherit;font-size:13px}
.tsearch input::placeholder{color:#484f58}

/* 分类导航：标签行 */
.tcats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tcat_p{font-size:12px;color:#8b949e;border:1px solid #30363d;border-radius:6px;padding:5px 12px;background:#161b22}
.tcat_p:hover{color:#7ee787;border-color:#2ea043}
.tcat_p._on{color:#7ee787;border-color:#2ea043;background:#0f2417}
.tcat_p em{font-style:normal;color:#484f58;margin-left:5px}

/* 问答条目：仿终端输入/输出块 */
.tqa{border:1px solid #30363d;border-radius:8px;background:#161b22;margin-bottom:12px;overflow:hidden}
.tqa:hover{border-color:#484f58}
.tq{display:flex;align-items:flex-start;gap:9px;padding:13px 16px;background:#1c2128;border-bottom:1px solid #30363d}
.tq .pr{color:#2ea043;font-weight:bold;flex-shrink:0}
.tq .txt{font-size:14px;color:#e6edf3;font-weight:600;line-height:1.6}
.ta{padding:14px 16px;display:flex;gap:18px;align-items:flex-start}
.ta_l{flex:1;min-width:0}
.ta_out{font-size:13px;color:#adbac7;line-height:1.95}
.ta_out .ok{color:#2ea043;font-weight:bold;margin-right:6px}
.tpts{margin:12px 0 0;border-left:2px solid #2ea043;padding:2px 0 2px 12px}
.tpts li{font-size:12.5px;color:#8b949e;line-height:1.85}
.tpts li:before{content:"› ";color:#2ea043}
.tfig{flex:0 0 176px;width:176px}
.tfig .box{width:100%;height:108px;border:1px solid #30363d;border-radius:6px;background:#0d1117;overflow:hidden}
.tfig .box svg{width:100%;height:100%}
.tfig figcaption{font-size:11.5px;color:#484f58;text-align:center;margin-top:6px}
.tmeta{padding:9px 16px;border-top:1px solid #30363d;background:#12171d;font-size:11.5px;color:#484f58;display:flex;gap:16px;flex-wrap:wrap}
.tmeta .tag{color:#79c0ff}
.tmeta .ex{color:#2ea043;margin-left:auto}

/* 翻页 */
.tpager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:24px 0 8px}
.tpager a,.tpager span{min-width:34px;height:34px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;
  font-size:12.5px;border:1px solid #30363d;border-radius:6px;background:#161b22;color:#8b949e}
.tpager a:hover{border-color:#2ea043;color:#7ee787}
.tpager .cur{background:#2ea043;border-color:#2ea043;color:#0d1117;font-weight:bold}
.tpager .dot{border:0;background:none;min-width:14px;padding:0}

/* 索引：目录树式分类卡 */
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:8px}
.tmod{border:1px solid #30363d;border-radius:8px;background:#161b22;padding:16px;transition:.15s}
.tmod:hover{border-color:#2ea043;background:#0f2417}
.tmod .ico{width:100%;height:76px;border:1px solid #30363d;border-radius:6px;background:#0d1117;overflow:hidden;margin-bottom:11px}
.tmod .ico svg{width:100%;height:100%}
.tmod h3{font-size:14.5px;color:#e6edf3;margin-bottom:3px}
.tmod:hover h3{color:#7ee787}
.tmod .cnt{font-size:12px;color:#484f58}
.tmod .cnt b{color:#79c0ff;font-weight:normal}

.tnote{border:1px solid #30363d;border-left:3px solid #d29922;border-radius:6px;background:#1c1810;
  padding:14px 16px;margin:22px 0 10px;font-size:12.5px;color:#8b949e;line-height:1.9}
.tnote b{color:#d29922}
.tempty{display:none;text-align:center;padding:38px;color:#484f58;font-size:13px}

.tfoot{border-top:1px solid #30363d;background:#0d1117;padding:22px 18px;margin-top:28px;text-align:center}
.tfoot a{color:#8b949e;font-size:12.5px;margin:0 10px}
.tfoot a:hover{color:#7ee787}
.tfoot p{font-size:11.5px;color:#484f58;line-height:2;margin-top:8px}

@media(max-width:1000px){
  .tgrid{grid-template-columns:1fr}
  .ta{flex-direction:column}
  .tfig{width:100%;flex-basis:auto}
  .tfig .box{height:150px}
  .thd_in{overflow-x:auto}
}

