/* 站点骨架：只负责页头、页脚、说明区。应用自己的样式在工具 CSS 里（.awf 作用域）。 */
:root{
  --bg:#0e2018;
  --bg-glow:#1d4535;
  --surface:#153327;
  --text:#f6efe0;
  --muted:rgba(207,216,207,.78);
  --faint:rgba(207,216,207,.45);
  --primary:#d9a94b;
  --accent:#b23a4e;
  --sage:#8aa596;
  --line:rgba(246,239,224,.12);
  --radius:8px;
  --wrap:980px;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Hiragino Sans","Noto Sans JP","PingFang SC","Microsoft YaHei",sans-serif;
  --font-display:Georgia,"Palatino Linotype",Palatino,"Times New Roman",serif;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:
    radial-gradient(1100px 620px at 50% -12%, var(--bg-glow) 0%, rgba(29,69,53,0) 62%),
    radial-gradient(900px 500px at 100% 100%, rgba(178,58,78,.10) 0%, rgba(178,58,78,0) 60%),
    var(--bg);
  background-attachment:fixed;
  color:var(--text);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  display:flex;flex-direction:column;
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.sw-top{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  max-width:var(--wrap);width:100%;margin:0 auto;padding:22px 20px 0;
}
.sw-brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-family:var(--font-display);font-size:17px;letter-spacing:.01em;text-decoration:none}
.sw-brand:hover{text-decoration:none;opacity:.85}
.sw-mark{width:22px;height:22px;border-radius:3px;background:var(--text);position:relative;flex:0 0 auto}
.sw-mark::before{content:"";position:absolute;left:9px;top:0;width:4px;height:100%;background:var(--accent)}
.sw-mark::after{content:"";position:absolute;left:0;top:8px;width:100%;height:4px;background:var(--accent)}
.sw-jump{font-size:12.5px;color:rgba(183,203,191,.85);text-decoration:none;border-bottom:1px solid rgba(138,165,150,.45);padding-bottom:2px}
.sw-jump:hover{color:var(--text);text-decoration:none;border-bottom-color:rgba(246,239,224,.55)}
.sw-main{flex:1 0 auto;width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sw-notes{max-width:860px;margin:56px auto 0;padding:34px 0 10px;border-top:1px solid var(--line)}
.sw-notes h1{font-family:var(--font-display);font-weight:400;font-size:clamp(28px,4vw,38px);line-height:1.15;margin:0 0 18px;letter-spacing:-.01em;color:var(--text)}
.sw-notes h2{font-family:var(--font-display);font-weight:400;font-size:24px;line-height:1.25;margin:0 0 12px;letter-spacing:-.01em;color:var(--text)}
.sw-notes h2:not(:first-child){margin-top:34px}
.sw-notes p{font-size:14.5px;line-height:1.7;color:var(--muted);margin:0 0 12px}
.sw-notes ul{margin:0 0 14px;padding-left:20px}
.sw-notes li{font-size:14.5px;line-height:1.7;color:var(--muted);margin:0 0 8px}
.sw-notes strong{color:var(--text);font-weight:600}
.sw-notes code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:rgba(246,239,224,.1);padding:1px 5px;border-radius:3px;color:var(--text)}
.sw-faq details{border-top:1px solid rgba(246,239,224,.1);padding:13px 0}
.sw-faq details summary{cursor:pointer;font-size:14px;color:var(--text);list-style:none}
.sw-faq details summary::-webkit-details-marker{display:none}
.sw-faq details summary::before{content:"+ ";color:var(--primary)}
.sw-faq details[open] summary::before{content:"− "}
.sw-faq details p{font-size:13.5px;line-height:1.65;color:var(--muted);margin:9px 0 0;padding-left:16px}
.sw-foot{
  flex:0 0 auto;max-width:var(--wrap);width:100%;margin:56px auto 0;padding:22px 20px 34px;
  border-top:1px solid var(--line);font-size:12px;color:var(--faint);line-height:1.6;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.sw-foot a{color:rgba(207,216,207,.62)}
@media(max-width:600px){
  .sw-top{padding-top:16px}
  .sw-notes{margin-top:36px;padding-top:26px}
  .sw-jump{display:none}
}
