@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;500;600;700&display=swap');

:root{
  --bg:#000000;
  --bg2:#0b0e13;
  --card:#121212;
  --line:#1b212a;
  --line2:#2a3f5d;
  --blue:#5b8fd6;
  --glow:rgba(91,143,214,.45);
  --gold:#d3ab74;
  --fg:#e6e8ed;
  --dim:#8a929f;
  --serif:"Noto Serif TC","Songti SC",Georgia,serif;
  --sans:"Noto Sans TC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --pad:clamp(16px,4vw,44px);
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%}
a{color:var(--blue)}
::selection{background:#1d3552;color:#fff}
:focus-visible{outline:1px solid var(--blue);outline-offset:2px}

/* ---------- 顶栏 ---------- */
.top{position:relative;z-index:40;background:#000;border-bottom:1px solid var(--line)}
.top-bar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.6rem;
  max-width:1180px;
  margin:0 auto;
  padding:.8rem var(--pad);
}
.top-side{display:flex;align-items:center;gap:.35rem;min-width:0}
.top-side-r{justify-content:flex-end}
.top-nav{display:flex;align-items:center;gap:.1rem;flex-wrap:wrap;min-width:0}
.top-right{justify-content:flex-end}
.top-nav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.45rem .5rem;
  font-size:.82rem;
  letter-spacing:.05em;
  color:var(--dim);
  text-decoration:none;
  border:1px solid transparent;
  border-radius:0;
  white-space:nowrap;
}
.top-nav a:hover,.top-nav a:focus-visible{
  color:var(--fg);
  border-color:var(--line2);
  text-shadow:0 0 10px var(--glow);
}

.burger{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-height:40px;
  padding:.4rem .6rem;
  background:none;
  border:1px solid var(--line);
  border-radius:0;
  color:var(--dim);
  font:inherit;
  font-size:.78rem;
  letter-spacing:.12em;
  cursor:pointer;
}
.burger:hover{color:var(--fg);border-color:var(--line2)}
.burger-lines{position:relative;display:block;width:17px;height:11px}
.burger-lines::before{
  content:"";position:absolute;inset:0;
  border-top:1px solid currentColor;border-bottom:1px solid currentColor;
}
.burger-lines::after{
  content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:currentColor;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.35rem .7rem;
  color:var(--fg);
  text-decoration:none;
}
.brand-dot{display:block;width:7px;height:7px;background:var(--gold);box-shadow:0 0 10px var(--gold)}
.brand-name{
  font-family:var(--serif);
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:.24em;
  text-indent:.24em;
  text-shadow:0 0 12px rgba(91,143,214,.45);
}

/* ---------- 粘性锚点条 ---------- */
.strip{
  position:sticky;
  top:0;
  z-index:35;
  background:rgba(0,0,0,.93);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(6px);
}
.strip-inner{
  display:flex;
  align-items:center;
  gap:.8rem;
  max-width:1180px;
  margin:0 auto;
  padding:0 var(--pad);
}
.strip-nav{
  display:flex;
  gap:.1rem;
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.strip-nav::-webkit-scrollbar{display:none}
.strip-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:.5rem .55rem;
  font-size:.8rem;
  color:var(--dim);
  text-decoration:none;
  white-space:nowrap;
  border-bottom:2px solid transparent;
}
.strip-nav a:hover,.strip-nav a:focus-visible{
  color:var(--fg);
  border-bottom-color:var(--blue);
  text-shadow:0 0 10px var(--glow);
}

.finder{display:flex;align-items:center;gap:.4rem;flex:0 0 auto}
.finder-label{font-size:.74rem;letter-spacing:.14em;color:#66707e}
.finder input{
  width:clamp(5.5rem,17vw,9.5rem);
  min-height:40px;
  padding:.4rem .55rem;
  background:#0a0d12;
  border:1px solid var(--line);
  border-radius:0;
  color:var(--fg);
  font:inherit;
  font-size:.8rem;
}
.finder input:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 1px var(--blue),0 0 14px rgba(91,143,214,.25);
}

/* ---------- 全屏菜单 ---------- */
.veil{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:4.5rem var(--pad) 3rem;
  background:#000;
  overflow-y:auto;
  border-top:1px solid var(--line2);
}
.veil[hidden]{display:none}
.veil-close{
  position:absolute;
  top:1rem;
  right:var(--pad);
  min-height:44px;
  padding:.5rem 1rem;
  background:none;
  border:1px solid var(--line2);
  border-radius:0;
  color:var(--fg);
  font:inherit;
  font-size:.82rem;
  letter-spacing:.14em;
  cursor:pointer;
}
.veil-close:hover{color:var(--gold);border-color:var(--gold)}
.veil-nav{display:flex;flex-direction:column;width:100%;max-width:620px;margin:0 auto}
.veil-nav a{
  display:flex;
  align-items:center;
  min-height:56px;
  padding:.8rem .2rem;
  font-family:var(--serif);
  font-size:clamp(1.2rem,4.6vw,1.9rem);
  color:var(--fg);
  text-decoration:none;
  border-bottom:1px solid #141a22;
}
.veil-nav a:hover,.veil-nav a:focus-visible{color:var(--gold);text-shadow:0 0 14px rgba(211,171,116,.4)}

/* ---------- 首屏 ---------- */
.hero{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:clamp(1.2rem,4vw,3rem);
  min-height:70vh;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(2.4rem,8vh,5rem) var(--pad);
  border-bottom:1px solid var(--line);
}
.hero-copy{text-align:right;max-width:33ch}
.hero h1{
  margin:0 0 1rem;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(1.85rem,5vw,3.5rem);
  line-height:1.28;
  letter-spacing:.02em;
  text-shadow:0 0 22px rgba(91,143,214,.3);
}
.hero-lead{margin:0;color:var(--dim);font-size:.98rem;line-height:1.9;text-shadow:none}
.hero-art{
  flex:0 0 auto;
  width:clamp(84px,13vw,148px);
  height:auto;
  filter:drop-shadow(0 0 14px rgba(91,143,214,.35));
}

/* ---------- 正文 ---------- */
.sheet{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  column-gap:clamp(2rem,5vw,3.5rem);
  max-width:1180px;
  margin:0 auto;
  padding:clamp(2.2rem,5vw,3.6rem) var(--pad) clamp(3rem,7vw,5.5rem);
}
.sheet > div{
  max-width:70ch;
  padding-bottom:2.6rem;
  scroll-margin-top:7.5rem;
}
.sheet > div + div{
  padding-top:2.6rem;
  border-top:1px solid var(--line);
}

.sheet h2{
  margin:0 0 1rem;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(1.3rem,3vw,1.85rem);
  line-height:1.45;
  letter-spacing:.02em;
  text-shadow:0 0 18px rgba(91,143,214,.22);
}
.sheet h2 > span{display:inline}
.sheet h2 > span::before{
  content:"";
  display:inline-block;
  width:18px;
  height:2px;
  margin-right:.55rem;
  vertical-align:.28em;
  background:var(--gold);
}
.sheet h3{
  margin:1.8rem 0 .8rem;
  font-family:var(--serif);
  font-weight:600;
  font-size:1.15rem;
  line-height:1.5;
  color:#f0f2f6;
  text-shadow:0 0 12px rgba(91,143,214,.18);
}
.sheet p{margin:0 0 1.1rem}
.sheet a{
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:.22em;
  text-decoration-color:rgba(91,143,214,.45);
}
.sheet a:hover{color:#a8c9f3}
.sheet ul,.sheet ol{margin:0 0 1.1rem;padding-left:1.35rem}
.sheet li{margin:.35rem 0}
.sheet blockquote{
  margin:0 0 1.2rem;
  padding:.9rem 1.1rem;
  background:var(--card);
  border-left:2px solid var(--line2);
  color:#ccd2dc;
  box-shadow:0 6px 20px rgba(0,0,0,.6);
}
.sheet strong{color:#fff;font-weight:600}
.sheet table{width:100%;border-collapse:collapse;margin:0 0 1.2rem;font-size:.94rem}
.sheet th,.sheet td{border:1px solid var(--line);padding:.5rem .7rem;text-align:left}
.sheet th{background:#0d1116;color:#e9ecf1}
.sheet code{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:.88em;
  padding:.1em .35em;
  background:#0d1116;
  border:1px solid var(--line);
}
.sheet pre{
  margin:0 0 1.2rem;
  padding:1rem;
  background:#0d1116;
  border:1px solid var(--line);
  overflow-x:auto;
}
.sheet pre code{padding:0;border:0;background:none}
.sheet img{height:auto;border:1px solid var(--line)}

/* ---------- 侧栏 ---------- */
.rail{
  padding:1.1rem 0 0;
  border-top:1px solid var(--line);
}
.rail-title{
  margin:0 0 .7rem;
  font-family:var(--serif);
  font-size:.86rem;
  font-weight:500;
  letter-spacing:.22em;
  color:var(--gold);
}
.rail-list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.rail-list a{
  display:flex;
  align-items:center;
  gap:.55rem;
  min-height:42px;
  padding:.25rem 0;
  font-size:.88rem;
  color:var(--dim);
  text-decoration:none;
  border-bottom:1px dashed #161c24;
}
.rail-list a::before{content:"";flex:0 0 auto;width:13px;height:1px;background:var(--line2)}
.rail-list a:hover,.rail-list a:focus-visible{color:var(--fg);text-shadow:0 0 10px var(--glow)}

/* ---------- 页脚 ---------- */
.foot{margin-top:1rem;border-top:1px solid var(--line);background:#000}
.foot-inner{max-width:1180px;margin:0 auto;padding:0 var(--pad)}
.foot-cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1.2rem;
  padding:clamp(2rem,6vw,3.2rem) 0;
  border-bottom:1px solid var(--line);
}
.foot-cta h2{
  margin:0;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(1.25rem,3.2vw,1.9rem);
  letter-spacing:.08em;
  text-shadow:0 0 18px rgba(211,171,116,.28);
}
.cta-link{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:.65rem 1.6rem;
  background:#0a0d12;
  border:1px solid var(--line2);
  border-radius:0;
  color:var(--fg);
  font-size:.9rem;
  letter-spacing:.16em;
  text-decoration:none;
}
.cta-link:hover,.cta-link:focus-visible{
  border-color:var(--gold);
  color:var(--gold);
  box-shadow:0 0 18px rgba(211,171,116,.18);
}

.foot-cols{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:2rem;
  padding:2.2rem 0;
  border-bottom:1px solid var(--line);
}
.foot-brand address{
  font-style:normal;
  max-width:36ch;
  font-size:.9rem;
  line-height:1.9;
  color:var(--dim);
}
.foot-brand-name{
  display:block;
  margin-bottom:.45rem;
  font-family:var(--serif);
  font-size:1.05rem;
  letter-spacing:.26em;
  color:var(--fg);
  text-shadow:0 0 12px rgba(91,143,214,.35);
}
.foot-nav dl{display:grid;grid-template-columns:auto minmax(2rem,1fr);align-items:center;gap:.1rem 1rem;margin:0}
.foot-nav dt{margin:0}
.foot-nav dt a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.2rem .1rem;
  font-size:.86rem;
  color:var(--dim);
  text-decoration:none;
}
.foot-nav dt a:hover,.foot-nav dt a:focus-visible{color:var(--fg);text-shadow:0 0 10px var(--glow)}
.foot-nav dd{height:1px;margin:0;background:#171d26}

.foot-base{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  padding:1.3rem 0;
}
.foot-ul{display:flex;flex-wrap:wrap;gap:.3rem;margin:0;padding:0;list-style:none}
.foot-ul a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.25rem .6rem;
  font-size:.82rem;
  color:var(--dim);
  text-decoration:none;
}
.foot-ul a:hover,.foot-ul a:focus-visible{color:var(--fg)}
.colophon{margin:0;font-size:.78rem;letter-spacing:.12em;color:#525b68}

/* ---------- 动效 ---------- */
html.js .rv{opacity:0;transform:translateY(16px)}
html.js .rv.in{
  opacity:1;
  transform:none;
  transition:opacity .62s ease,transform .62s ease;
  transition-delay:calc(var(--i,0) * 70ms);
}

/* ---------- 断点 ---------- */
@media (min-width:1020px){
  .sheet{grid-template-columns:minmax(0,1fr) 18rem}
  .sheet > *{grid-column:1}
  .sheet > aside{grid-column:2;grid-row:1/span 99}
  .rail{padding:0 0 0 1.1rem;border-top:0;border-left:1px solid var(--line)}
}
@media (max-width:1019px){
  .top-nav{display:none}
  .top-side{min-height:1px}
}
@media (max-width:760px){
  .foot-cols{grid-template-columns:1fr;gap:1.4rem}
}
@media (max-width:640px){
  body{font-size:16px}
  .hero{
    flex-direction:column-reverse;
    align-items:flex-end;
    justify-content:center;
    min-height:auto;
    gap:1.1rem;
    padding-top:2.2rem;
    padding-bottom:2.2rem;
  }
  .hero-copy{max-width:none}
  .hero-art{width:68px}
  .finder-label{display:none}
  .strip-nav a{font-size:.78rem;padding:.5rem .45rem}
  .foot-cta{gap:.9rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  html.js .rv{opacity:1;transform:none;transition:none}
}

button[aria-expanded]{min-width:44px;min-height:44px}
