:root {
  --brand-blue: #1595df;
  --ink: #111;
  --line: #d8d8d8;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.sitemap-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  color: #167fc5;
  background: #fff;
}

.skip-link:focus {
  left: 8px;
}

header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.sitemap-header {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 38px;
}

.sitemap-brand {
  display: block;
  flex: none;
}

.sitemap-brand img {
  display: block;
  width: 117px;
  height: 46px;
  object-fit: contain;
}

.sitemap-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-left: auto;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.sitemap-header nav a {
  color: #111;
  font-size: 15px;
  text-decoration: none;
}

.sitemap-header nav a:hover,
.sitemap-header nav a:focus-visible {
  color: var(--brand-blue);
}

main {
  padding: 30px 0 60px;
}

main h1 {
  width: min(100%, 1000px);
  margin: 0 auto 18px;
  color: #0099cc;
  font: bold 24px/1.35 Arial, Helvetica, sans-serif;
}

.sitemap-table-scroll {
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.sitemap-table-scroll:focus-visible {
  outline: 3px solid rgba(21, 149, 223, .35);
  outline-offset: 3px;
}

.sitemap-table {
  width: 100%;
  min-width: 804px;
  border-collapse: collapse;
  table-layout: fixed;
}

.sitemap-table th,
.sitemap-table td {
  height: 24px;
  padding: 3px 8px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sitemap-table th {
  height: 30px;
  color: #333;
  background: #f2f2f2;
  border-bottom-color: #ccc;
  font-weight: bold;
}

.sitemap-table th:nth-child(2),
.sitemap-table td:nth-child(2),
.sitemap-table th:nth-child(3),
.sitemap-table td:nth-child(3) {
  width: 200px;
}

.sitemap-table th:nth-child(4),
.sitemap-table td:nth-child(4) {
  width: 100px;
}

.sitemap-table tbody tr:last-child td {
  border-bottom: 0;
}

.sitemap-table tbody tr:hover {
  background: #f8fbfd;
}

.sitemap-table a {
  color: #0099cc;
  text-decoration: none;
}

.sitemap-table a:hover,
.sitemap-table a:focus-visible {
  text-decoration: underline;
}

footer {
  padding: 25px 0;
  color: var(--muted);
  background: #f2f2f2;
  border-top: 1px solid #e2e2e2;
}

footer .sitemap-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer p {
  margin: 0;
}

footer p:last-child {
  display: flex;
  gap: 18px;
}

footer a {
  color: #0099cc;
  text-decoration: none;
}

@media (max-width: 820px) {
  .sitemap-header {
    align-items: flex-start;
    padding: 15px 0;
  }

  .sitemap-header nav {
    gap: 7px 16px;
  }
}

@media (max-width: 560px) {
  .sitemap-shell {
    width: min(100% - 28px, 1200px);
  }

  .sitemap-header {
    display: block;
  }

  .sitemap-brand img {
    width: 108px;
    height: auto;
  }

  .sitemap-header nav {
    margin-top: 14px;
  }

  .sitemap-header nav a {
    font-size: 14px;
  }

  main {
    padding: 26px 0 44px;
  }

  main h1 {
    font-size: 22px;
  }

  footer .sitemap-shell {
    display: block;
  }

  footer p:last-child {
    margin-top: 8px;
    flex-wrap: wrap;
  }
}
