/* 第5套 web：深色工具站，顶栏固定下载条 */
html { scroll-behavior: auto; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: #e5e7eb;
  background: #0b1220;
  font: 16px/1.78 "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: #93c5fd; }
a:hover { color: #bfdbfe; }
:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #1f2937; padding: 8px; z-index: 120; }

.tool-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #020617;
  border-bottom: 1px solid #1f2a44;
}
.tool-top-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 800;
}
.brand svg { width: 26px; height: 26px; color: #60a5fa; }
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav a { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a[aria-current="page"] { color: #fff; }

.dl-stick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dl-stick .btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dl-stick .btn svg { width: 16px; height: 16px; }
.dl-stick .btn:hover { background: #1d4ed8; color: #fff; }
.dl-stick .btn-dim {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 24px auto 48px;
}
.panel {
  background: #111827;
  border: 1px solid #1f2a44;
  border-radius: 12px;
  padding: 22px 22px 12px;
  margin: 0 0 16px;
}
.panel h1 { margin: 0 0 12px; font-size: 30px; color: #fff; line-height: 1.3; }
.panel h2 { margin: 0 0 12px; font-size: 22px; color: #dbeafe; }
.panel h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.panel p { margin: 0 0 12px; color: #cbd5e1; }
.meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px;
  font-size: 12px; color: #93c5fd; font-family: Consolas, "Courier New", monospace;
}
.meta span { background: #1e293b; padding: 4px 8px; border-radius: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: #0b1220; border: 1px solid #1f2a44; border-radius: 10px; padding: 14px 14px 6px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 8px;
  background: #2563eb; color: #fff; text-decoration: none; font-weight: 800;
}
.btn:hover { background: #1d4ed8; color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px; border-radius: 8px;
  border: 1px solid #334155; color: #e5e7eb; text-decoration: none; font-weight: 700;
}
table.dark { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
table.dark th, table.dark td { border: 1px solid #1f2a44; padding: 8px 10px; text-align: left; color: #e5e7eb; }
table.dark th { background: #1e293b; color: #93c5fd; }
.faq details { border-top: 1px solid #1f2a44; padding: 8px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: #fff; }

.foot { border-top: 1px solid #1f2a44; padding: 22px 0 30px; color: #94a3b8; font-size: 13px; }
.foot-inner { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.foot p { margin: 0 0 8px; }

@media (max-width: 860px) {
  .tool-top-inner, .dl-stick { flex-wrap: wrap; }
  .split { grid-template-columns: 1fr; }
  .panel h1 { font-size: 24px; }
}
