*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--theme-page-bg,#ffffff);color:var(--theme-text,inherit)}
:root {
  --theme-primary: #265A88;
  --theme-primary-dark: #1D4A72;
  --theme-primary-light: #EAF1F7;
  --theme-page-bg: #FFFFFF;
  --theme-text: #333333;
  --theme-muted: #667085;
  --theme-border: #E3E8EE;
  --theme-radius: 6px;
  --theme-shadow: 0 2px 8px rgba(16, 40, 64, 0.08);
  --theme-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--theme-page-bg);
  color: var(--theme-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--theme-primary);
  text-decoration: none;
}

a:hover {
  color: var(--theme-primary-dark);
}

.container {
  width: 100%;
  max-width: var(--theme-container);
  padding-inline: 16px;
  margin-inline: auto;
}

.site-main {
  padding-block: 20px;
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  margin-block: 20px;
}

.layout-main > * {
  min-width: 0;
}

.site-sidebar {
  min-width: 0;
  font-size: 13px;
}

.site-sidebar .row-normal {
  padding: 12px;
}

.site-sidebar .row-normal + .row-normal {
  margin-top: 16px;
}

.site-sidebar .list-tiny {
  padding: 7px 0;
}

.row-normal {
  background: #FFFFFF;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  padding: 16px;
}

.title {
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--theme-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.title-tiny {
  margin: 0 0 10px;
  padding-left: 8px;
  border-left: 3px solid var(--theme-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.list-tiny {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--theme-border);
}

.list-tiny:last-child {
  border-bottom: 0;
}

.list-tiny-img {
  flex: 0 0 76px;
  width: 76px;
  min-width: 0;
}

.list-tiny-img img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
}

.list-tiny-text {
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.list-tiny-text a {
  color: var(--theme-text);
}

.list-tiny-text a:hover {
  color: var(--theme-primary);
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--theme-border);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.pagination .active a,
.pagination .active span {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #FFFFFF;
}

.site-header {
  background: #FFFFFF;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--theme-primary);
  font-weight: 700;
}

.site-brand__logo {
  max-height: 48px;
  width: auto;
}

.site-brand__name {
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.site-search {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 260px;
  max-width: 100%;
}

.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--theme-border);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--theme-text);
  font: inherit;
  font-size: 14px;
}

.site-search__input:focus {
  border-color: var(--theme-primary);
  outline: 2px solid var(--theme-primary-light);
  outline-offset: 0;
}

.site-search__btn {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--theme-primary);
  border-radius: 4px;
  background: var(--theme-primary);
  color: #FFFFFF;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.site-search__btn:hover {
  background: var(--theme-primary-dark);
  border-color: var(--theme-primary-dark);
  color: #FFFFFF;
}

.site-nav {
  background: #FFFFFF;
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.site-nav__item {
  min-width: 0;
}

.site-nav__link {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 4px;
  color: var(--theme-text);
  font-size: 14.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: var(--theme-primary-light);
  color: var(--theme-primary);
}

.site-footer {
  margin-top: 32px;
  background: var(--theme-primary);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.site-footer__inner {
  padding-block: 32px 18px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px 32px;
  align-items: start;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer__brand:hover {
  color: #FFFFFF;
}

.site-footer__logo {
  max-height: 40px;
  width: auto;
}

.site-footer__desc {
  margin: 10px 0 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer__contact {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.site-footer__title {
  margin: 0 0 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.site-footer__nav--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.site-footer__nav a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.site-flinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.site-flinks__title {
  color: #FFFFFF;
  font-weight: 600;
}

.site-flinks a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.site-flinks a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.site-footer__copy,
.site-footer__record {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .layout-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .site-header__inner {
    padding-block: 12px;
  }

  .site-search {
    width: 100%;
  }

  .site-nav__list {
    gap: 0;
  }

  .site-nav__link {
    padding: 7px 9px;
    font-size: 13.5px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .site-footer__inner {
    padding-block: 24px 16px;
  }
}

@media (max-width: 720px) {
  .site-search {
    flex-direction: column;
  }

  .site-search__btn {
    width: 100%;
  }

  .site-footer__nav {
    flex-direction: column;
    gap: 2px;
  }

  .site-footer__nav a {
    display: block;
    width: 100%;
    padding: 5px 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.dl-hero {
  width: 100%;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-dark) 100%);
  color: #FFFFFF;
}

.dl-hero__inner {
  padding-block: 26px;
}

.dl-hero__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}

.dl-hero__desc {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
}

.dl-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dl-hero__tags li {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.dl-breadcrumb {
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--theme-muted);
  overflow-wrap: anywhere;
}

.dl-breadcrumb a {
  color: var(--theme-muted);
}

.dl-breadcrumb a:hover {
  color: var(--theme-primary);
}

.dl-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dl-section {
  min-width: 0;
}

.dl-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dl-section__head .title {
  margin: 0;
}

.dl-section__more {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.dl-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dl-type {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: #FFFFFF;
}

.dl-type__icon {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-primary-light);
}

.dl-type__icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  background: var(--theme-primary);
  opacity: 0.7;
}

.dl-type__icon--tool {
  background: #E8F1E8;
}

.dl-type__icon--tool::after {
  background: #419641;
}

.dl-type__icon--tpl {
  background: #EAF1F7;
}

.dl-type__icon--tpl::after {
  background: #337AB7;
}

.dl-type__icon--data {
  background: #F3EFE6;
}

.dl-type__icon--data::after {
  background: #9A6B2F;
}

.dl-type__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.dl-type__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--theme-muted);
  overflow-wrap: anywhere;
}

.dl-list {
  display: block;
}

.dl-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--theme-border);
  min-width: 0;
}

.dl-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-item__thumb {
  flex: 0 0 88px;
  width: 88px;
  min-width: 0;
}

.dl-item__thumb img {
  width: 88px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
}

.dl-item__ph {
  display: block;
  width: 88px;
  height: 62px;
  border: 1px solid var(--theme-border);
  border-radius: 4px;
  background: var(--theme-primary-light);
}

.dl-item__body {
  flex: 1 1 220px;
  min-width: 0;
}

.dl-item__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dl-item__title a {
  color: var(--theme-text);
}

.dl-item__title a:hover {
  color: var(--theme-primary);
}

.dl-item__desc {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--theme-muted);
  overflow-wrap: anywhere;
}

.dl-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--theme-muted);
}

.dl-item__btn {
  flex: 0 0 auto;
  align-self: center;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--theme-primary);
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.dl-item__btn:hover {
  background: var(--theme-primary-dark);
  color: #FFFFFF;
}

.dl-notes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dlnote;
}

.dl-notes li {
  position: relative;
  padding-left: 28px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--theme-muted);
  overflow-wrap: anywhere;
}

.dl-notes li::before {
  counter-increment: dlnote;
  content: counter(dlnote);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--theme-primary-light);
  color: var(--theme-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.dl-tip {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--theme-primary);
  border-radius: 4px;
  background: var(--theme-primary-light);
  font-size: 13px;
  line-height: 1.7;
  color: var(--theme-primary-dark);
  overflow-wrap: anywhere;
}

.dl-rank {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dlrank;
}

.dl-rank__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--theme-border);
}

.dl-rank__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-rank__item::before {
  counter-increment: dlrank;
  content: counter(dlrank);
  flex: 0 0 18px;
  align-self: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--theme-muted);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.dl-rank__item:nth-child(-n+3)::before {
  background: var(--theme-primary);
}

.dl-rank__link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--theme-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-rank__link:hover {
  color: var(--theme-primary);
}

.dl-cats {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--theme-border);
}

.dl-cats__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-cats__link {
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--theme-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-cats__link:hover {
  color: var(--theme-primary);
}

.dl-cats__idx {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.6;
  color: var(--theme-muted);
}

.dl-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-side-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 6px 0;
  border-bottom: 1px solid var(--theme-border);
}

.dl-side-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-side-item__link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--theme-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-side-item__link:hover {
  color: var(--theme-primary);
}

.dl-side-item__date {
  flex: 0 0 auto;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--theme-muted);
}

.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-tags__item {
  min-width: 0;
  max-width: 100%;
}

.dl-tags__item a {
  display: block;
  max-width: 100%;
  padding: 3px 9px;
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  background: var(--theme-primary-light);
  font-size: 12px;
  line-height: 1.6;
  color: var(--theme-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-tags__item a:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #FFFFFF;
}

.dl-side-text {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--theme-muted);
  overflow-wrap: anywhere;
}

.dl-side-contact {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--theme-text);
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .dl-hero__inner {
    padding-block: 22px;
  }

  .dl-hero__title {
    font-size: 21px;
  }

  .dl-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dl-item__thumb {
    flex: 0 0 68px;
    width: 68px;
  }

  .dl-item__thumb img,
  .dl-item__ph {
    width: 68px;
    height: 48px;
  }

  .dl-item__btn {
    width: 100%;
    text-align: center;
  }

  .dl-section__head .title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .dl-types {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* layout-guard v2 */
:where(html){-webkit-text-size-adjust:100%;text-size-adjust:100%}
:where(body){overflow-wrap:break-word;overflow-x:clip}
:where(main,article,aside,section){min-width:0}
:where(img,video,iframe,embed,object,canvas){display:block;max-width:100%;height:auto}
:where(.theme-container,.theme-shell){min-width:0;max-width:1200px;width:100%;margin-inline:auto;padding-inline:20px}
:where(.theme-grid){min-width:0}
:where(.theme-card,.theme-card__body){min-width:0;overflow-wrap:anywhere}
:where(.theme-card__media,.theme-card__media img){min-width:0;overflow:hidden}
:where(.theme-card__media img){width:100%;aspect-ratio:16/9;object-fit:cover}
:where(.theme-hero,.theme-feature){min-width:0;overflow:hidden}
:where(.theme-hero img,.theme-feature img){width:100%;max-height:520px;object-fit:cover}
:where(table){max-width:100%}
:where(pre){max-width:100%;overflow-x:auto;white-space:pre-wrap}
@media(max-width:860px){:where(.theme-grid){grid-template-columns:minmax(0,1fr)!important}:where(.theme-hero img,.theme-feature img){max-height:400px}}
@media(max-width:720px){:where(.theme-container,.theme-shell){padding-inline:16px}:where(.theme-card,.theme-card button,.theme-card a){width:100%}:where(.theme-hero img,.theme-feature img){max-height:320px}}
