:root {
  --dh01-bg: #f5f7fa;
  --dh01-panel: #ffffff;
  --dh01-text: #1f2933;
  --dh01-muted: #6b7584;
  --dh01-line: #e4e8ee;
  --dh01-strong: #174ea6;
  --dh01-accent: #0f9f7a;
  --dh01-warm: #f26b4f;
  --dh01-soft: #eef7f4;
  --dh01-shadow: 0 8px 20px rgba(30, 42, 62, 0.06);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.dh01 {
  min-width: 320px;
  margin: 0;
  background: var(--dh01-bg);
  color: var(--dh01-text);
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.dh01-wrap {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.dh01-header {
  background: #fff;
  border-bottom: 1px solid var(--dh01-line);
}

.dh01-header__inner {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 300px;
  align-items: center;
  gap: 20px;
}

.dh01-logo {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #152235;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.dh01-logo__mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--dh01-strong), var(--dh01-accent));
  font-size: 13px;
  letter-spacing: 0;
}

.site-logo__image {
  width: auto;
  max-width: 150px;
  height: 40px;
  object-fit: contain;
}

.site-logo__name {
  color: #152235;
  font-size: 22px;
  font-weight: 800;
}

.dh01-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.dh01-nav a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
}

.dh01-nav a:hover {
  color: var(--dh01-strong);
}

.dh01-nav a.is-active {
  color: var(--dh01-strong);
  background: #edf4ff;
}

.dh01-actions {
  min-width: 0;
}

.dh01-search,
.dh01-hero-search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 72px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  background: #fff;
}

.dh01-search {
  height: 40px;
}

.dh01-search__icon {
  width: 16px;
  height: 16px;
  justify-self: center;
  position: relative;
  border: 2px solid #8a96a8;
  border-radius: 50%;
}

.dh01-search__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #8a96a8;
  transform: rotate(45deg);
}

.dh01-search input,
.dh01-hero-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--dh01-text);
  background: transparent;
  font: inherit;
}

.dh01-search button,
.dh01-hero-search button,
.dh01-visit {
  border: 0;
  color: #fff;
  background: var(--dh01-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.dh01-search button:hover,
.dh01-hero-search button:hover,
.dh01-visit:hover {
  background: #0f3f87;
}

.dh01-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dh01-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.dh01-nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: #233044;
}

.top-resource-zone {
  padding: 10px 0 14px;
  background: var(--site-top-resource-bg, transparent);
}

.top-resource-zone:not(:has(.site-ad-stack--pc:not(:empty), .site-ad-grid--app:not(:empty), .site-friend-zone__list:not(:empty))) {
  display: none;
}

.top-resource-zone__inner {
  display: grid;
  gap: 0;
}

.top-resource-zone .site-ad-zone,
.top-resource-zone .site-friend-zone {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-ad-zone {
  width: min(1200px, calc(100% - 32px));
  margin: 12px auto 0;
}

.site-ad-zone--top {
  display: grid;
  gap: 8px;
}

.site-ad-stack,
.site-ad-grid {
  min-width: 0;
}

.site-ad-stack:empty,
.site-ad-grid:empty,
.site-friend-zone__list:empty {
  display: none;
  min-height: 0;
}

.site-ad-item {
  position: relative;
  min-width: 0;
}

.site-ad-stack--pc {
  display: grid;
  gap: 8px;
}

.site-ad-stack--pc > a,
.site-ad-stack--pc > img,
.site-ad-stack--pc .site-ad-item,
.site-ad-stack--pc .site-ad-item > a,
.site-ad-stack--pc .site-ad-item > img {
  display: block;
  width: 100%;
  height: 60px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--site-ad-slot-bg, #eef2f7);
}

.site-ad-stack--pc img,
.site-ad-stack--pc .site-ad-item img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: fill;
}

.site-ad-grid--app {
  display: grid;
  grid-template-columns: repeat(auto-fill, 100px);
  justify-content: center;
  align-items: start;
  gap: 10px 20px;
}

.site-ad-grid--app > a,
.site-ad-grid--app > img,
.site-ad-grid--app .site-ad-item {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  min-width: 100px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-ad-grid--app .site-ad-item {
  grid-template-rows: 70px 1fr;
  gap: 4px;
  padding: 4px 0 0;
}

.site-ad-grid--app .site-ad-item > a,
.site-ad-grid--app > img,
.site-ad-grid--app .site-ad-item > img {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--site-ad-slot-bg, #eef2f7);
}

.site-ad-grid--app img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.site-ad-title {
  max-width: 100%;
  overflow: hidden;
  color: var(--site-ad-title-color, #111827);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-friend-zone {
  width: min(1200px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--site-friend-color, #111827);
}

.site-friend-zone:has(.site-friend-zone__list:empty) {
  display: none;
}

.site-friend-zone--top {
  margin-top: 0;
  padding: 0;
}

.site-friend-zone--top .site-friend-zone__inner {
  width: 100%;
  margin-top: 12px;
}

.top-resource-zone > .site-friend-zone--top > .site-friend-zone__inner {
  width: min(100% - 24px, 1320px);
  margin-right: auto;
  margin-left: auto;
}

.site-friend-zone--bottom {
  width: min(980px, 100%);
  margin: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  border: 1px solid var(--site-friend-border, #e5eaf2);
  border-radius: 6px;
  background: var(--site-friend-bg, #fafbfe);
}

.site-friend-zone__list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.site-friend-zone__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: auto;
  padding: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0;
  color: var(--site-friend-color, #111827) !important;
  background: transparent !important;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-friend-zone__list a:hover {
  color: var(--site-friend-hover-color, var(--dh01-strong)) !important;
  background: transparent !important;
}

.site-friend-zone__label {
  color: var(--site-friend-color, #111827) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.site-friend-zone--bottom .site-friend-zone__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-friend-zone--top .site-friend-zone__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-friend-zone--top .site-friend-zone__list a {
  width: auto;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.site-ad-zone--footer-mobile {
  display: none;
}

.site-ad-zone--footer-mobile .site-ad-stack--mobile > a,
.site-ad-zone--footer-mobile .site-ad-stack--mobile > img,
.site-ad-zone--footer-mobile .site-ad-stack--mobile .site-ad-item,
.site-ad-zone--footer-mobile .site-ad-stack--mobile .site-ad-item > a,
.site-ad-zone--footer-mobile .site-ad-stack--mobile .site-ad-item > img {
  display: block;
  width: 100%;
  height: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: var(--site-ad-slot-bg, #eef2f7);
}

.site-ad-zone--footer-mobile .site-ad-stack--mobile img,
.site-ad-zone--footer-mobile .site-ad-stack--mobile .site-ad-item img {
  display: block;
  width: 100%;
  height: 40px;
  object-fit: fill;
}

.dh01-main {
  padding: 12px 0 0;
}

.dh01-hero-search {
  height: 48px;
  grid-template-columns: minmax(0, 1fr) 86px;
}

.dh01-hero-search input {
  padding: 0 14px;
}

.dh01-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dh01-quick a,
.dh01-subnav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--dh01-line);
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.dh01-quick a:hover,
.dh01-subnav a:hover,
.dh01-subnav a.is-active {
  border-color: var(--dh01-accent);
  color: #08745d;
  background: var(--dh01-soft);
}

.dh01-panel {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--dh01-line);
  border-radius: 8px;
  background: var(--dh01-panel);
  box-shadow: var(--dh01-shadow);
}

.dh01-panel__head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  border-bottom: 1px solid var(--dh01-line);
  background: #fbfcfe;
}

.dh01-panel__head h1,
.dh01-panel__head h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #172033;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-panel__head a,
.dh01-panel__head span {
  flex: 0 0 auto;
  color: var(--dh01-muted);
  font-size: 13px;
}

.dh01-panel__head a:hover {
  color: var(--dh01-strong);
}

.dh01-feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.dh01-site-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: center;
  min-height: 118px;
  padding: 12px 8px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fff;
}

.dh01-site-card:hover {
  border-color: #b7d7ff;
  background: #f7fbff;
}

.dh01-site-card__icon,
.dh01-site-row__icon {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #eff3f7;
}

.dh01-site-card__icon {
  width: 56px;
  height: 56px;
}

.dh01-site-card__icon img,
.dh01-site-row__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh01-site-card__body {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: center;
}

.dh01-site-card strong,
.dh01-link-item span,
.dh01-site-row strong,
.dh01-topic-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-site-card strong {
  color: #1f2933;
  font-size: 14px;
}

.dh01-site-card small,
.dh01-link-item small,
.dh01-site-row small,
.dh01-topic-card span {
  min-width: 0;
  overflow: hidden;
  color: var(--dh01-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-link-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 8px;
}

.dh01-link-item {
  min-width: 0;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 6px;
}

.dh01-link-item:hover {
  color: var(--dh01-strong);
  background: #f2f7ff;
}

.dh01-page {
  padding-top: 12px;
}

.dh01-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--dh01-muted);
  font-size: 13px;
}

.dh01-breadcrumb a:hover {
  color: var(--dh01-strong);
}

.dh01-page-title,
.dh01-search-panel,
.dh01-info {
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid var(--dh01-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--dh01-shadow);
}

.dh01-page-title h1,
.dh01-search-panel h1,
.dh01-info h1 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.3;
}

.dh01-page-title p,
.dh01-info p {
  margin: 8px 0 0;
  color: #596779;
  line-height: 1.8;
}

.dh01-info h2 {
  margin: 0;
  color: #172033;
  font-size: 20px;
  line-height: 1.3;
}

.site-contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--dh01-line);
  color: #1f2933;
  line-height: 1.8;
}

.site-contact-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-contact-label {
  flex: 0 0 auto;
  color: #4d5a6c;
  font-weight: 800;
}

.site-contact-info a,
.site-contact-info strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #172033;
  font-weight: 700;
}

.friend-link-apply__notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #cfe3f5;
  border-radius: 8px;
  background: #f5fbff;
  color: #405166;
  line-height: 1.7;
}

.friend-link-apply__notice strong {
  color: #172033;
}

.friend-link-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.friend-link-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #4d5a6c;
  font-weight: 800;
}

.friend-link-form input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--dh01-text);
  font: inherit;
}

.friend-link-form input:focus {
  border-color: var(--dh01-strong);
  box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.12);
}

.friend-link-url-field {
  width: 100%;
  min-width: 0;
  display: flex;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  background: #fff;
}

.friend-link-url-field:focus-within {
  border-color: var(--dh01-strong);
  box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.12);
}

.friend-link-url-field span {
  flex: 0 0 auto;
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px 0 12px;
  color: #596779;
  font-weight: 800;
  white-space: nowrap;
}

.friend-link-url-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
}

.friend-link-url-field input:focus {
  border-color: transparent;
  box-shadow: none;
}

.friend-link-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: center;
  gap: 10px;
}

.friend-link-captcha-row img {
  width: 116px;
  height: 42px;
  object-fit: cover;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.friend-link-form button {
  justify-self: start;
  min-width: 116px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--dh01-strong);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.friend-link-form button:hover {
  background: #0f3f87;
}

.friend-link-form button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.friend-link-form__message {
  min-height: 20px;
  color: var(--dh01-muted);
  line-height: 1.6;
}

.friend-link-form__message.is-info {
  color: var(--dh01-strong);
}

.friend-link-form__message.is-success {
  color: #08745d;
}

.friend-link-form__message.is-error {
  color: #c2410c;
}

.dh01-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dh01-site-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px;
}

.dh01-site-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 7px;
}

.dh01-site-row:hover {
  background: #f2f7ff;
}

.dh01-site-row__icon {
  width: 42px;
  height: 42px;
}

.dh01-site-row__main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dh01-site-row em {
  max-width: 90px;
  overflow: hidden;
  color: var(--dh01-muted);
  font-style: normal;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-detail {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid var(--dh01-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--dh01-shadow);
}

.dh01-detail__icon {
  width: 118px;
  height: 118px;
  overflow: hidden;
  border-radius: 14px;
  background: #eff3f7;
}

.dh01-detail__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh01-detail__body {
  min-width: 0;
}

.dh01-detail__body h1 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 26px;
  line-height: 1.25;
}

.dh01-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--dh01-muted);
  font-size: 13px;
}

.dh01-detail__summary {
  margin: 12px 0 16px;
  color: #4d5a6c;
  line-height: 1.8;
}

.dh01-detail__url {
  max-width: 720px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #dce5f0;
  border-radius: 7px;
  background: #f8fbff;
}

.dh01-detail__url span {
  color: #637083;
  font-weight: 700;
}

.dh01-detail__url a {
  min-width: 0;
  overflow: hidden;
  color: var(--dh01-strong);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-detail-intro {
  margin-bottom: 12px;
}

.dh01-detail-intro__body {
  padding: 16px;
  color: #3c4858;
  line-height: 1.9;
}

.dh01-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dh01-visit {
  min-width: 128px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
}

.dh01-action-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #dce5f0;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.dh01-action-btn:hover {
  border-color: #b7d7ff;
  color: var(--dh01-strong);
  background: #f7fbff;
}

.dh01-website-preview__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3f8;
}

.dh01-website-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh01-website-preview__empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px 16px;
  background: linear-gradient(135deg, #f8fbff, #eef7f4);
  text-align: center;
}

.dh01-website-preview__empty img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.dh01-website-preview__empty strong {
  color: #172033;
  font-size: 18px;
}

.dh01-website-preview__empty span {
  color: var(--dh01-muted);
}

.dh01-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 12px;
  gap: 10px;
}

.dh01-info-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fbfcfe;
}

.dh01-info-grid dt {
  margin: 0 0 6px;
  color: var(--dh01-muted);
  font-size: 12px;
}

.dh01-info-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #172033;
  font-weight: 700;
  line-height: 1.5;
}

.dh01-detail-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.dh01-feature-list ul,
.dh01-usecase-list ul {
  margin: 0;
  padding: 14px 16px 16px 34px;
  color: #3c4858;
  line-height: 1.9;
}

.dh01-feature-list li,
.dh01-usecase-list li {
  margin: 4px 0;
}

.dh01-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.dh01-tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dcece7;
  border-radius: 999px;
  background: var(--dh01-soft);
  color: #08745d;
  font-weight: 700;
}

.dh01-faq-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.dh01-faq-list details {
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fbfcfe;
}

.dh01-faq-list summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #172033;
  font-weight: 800;
}

.dh01-faq-list p {
  margin: 0;
  padding: 0 14px 14px;
  color: #4d5a6c;
  line-height: 1.8;
}

.dh01-link-list-compact {
  display: grid;
  gap: 0;
  padding: 8px;
}

.dh01-link-list-compact a {
  min-width: 0;
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-radius: 6px;
}

.dh01-link-list-compact a:hover {
  color: var(--dh01-strong);
  background: #f2f7ff;
}

.dh01-link-list-compact span,
.dh01-link-list-compact small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh01-link-list-compact small {
  color: var(--dh01-muted);
  font-size: 12px;
}

.dh01-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  max-width: min(420px, calc(100% - 32px));
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(23, 32, 51, 0.92);
  color: #fff;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dh01-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dh01-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  align-items: center;
  gap: 18px;
}

.dh01-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.dh01-topic-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  min-height: 76px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fff;
}

.dh01-topic-card:hover {
  border-color: #b7d7ff;
  background: #f7fbff;
}

.dh01-footer {
  margin-top: 26px;
  border-top: 1px solid var(--dh01-line);
  background: #fff;
}

.dh01-footer__inner {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  color: #667085;
}

.dh01-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dh01-footer__brand strong {
  color: #1f2933;
}

.dh01-footer__nav-groups {
  display: grid;
  gap: 8px;
}

.dh01-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.dh01-footer__links a:hover {
  color: var(--dh01-strong);
}

.dh01-footer__meta {
  color: #8b95a5;
  font-size: 13px;
}

@media (max-width: 860px) {
  .top-resource-zone {
    padding: 8px 0 12px;
  }

  .site-ad-zone {
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .top-resource-zone .site-ad-zone,
  .top-resource-zone .site-friend-zone {
    width: 100%;
    margin: 0;
  }

  .site-ad-stack--pc > a,
  .site-ad-stack--pc > img,
  .site-ad-stack--pc .site-ad-item,
  .site-ad-stack--pc .site-ad-item > a,
  .site-ad-stack--pc .site-ad-item > img {
    height: 50px;
  }

  .site-ad-stack--pc img,
  .site-ad-stack--pc .site-ad-item img {
    height: 50px;
  }

  .site-ad-grid--app,
  .site-friend-zone--top .site-friend-zone__list {
    justify-content: flex-start;
    gap: 8px 6px;
  }

  .site-ad-grid--app > a,
  .site-ad-grid--app > img,
  .site-ad-grid--app .site-ad-item {
    width: 100%;
    min-width: 0;
    max-width: 100px;
    height: 100px;
  }

  .site-friend-zone {
    width: calc(100% - 24px);
    padding: 10px;
  }

  .site-friend-zone--top {
    padding: 0;
  }

  .site-friend-zone--bottom {
    width: 100%;
  }

  .site-friend-zone__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .site-friend-zone__list a {
    min-height: 26px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .site-friend-zone--top .site-friend-zone__list a {
    width: auto;
    font-size: 15px;
  }

  .site-ad-zone--footer-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--site-mobile-ad-bottom, 0);
    z-index: 80;
    display: block;
    width: 100%;
    margin: 0;
    padding: 4px 8px;
    background: var(--site-mobile-ad-bg, rgba(255, 255, 255, .96));
    box-shadow: var(--site-mobile-ad-shadow, 0 -8px 20px rgba(15, 23, 42, .12));
  }

  .site-ad-stack--mobile {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .site-ad-grid--app,
  .site-friend-zone--top .site-friend-zone__list {
    grid-template-columns: repeat(4, minmax(0, 100px));
    justify-content: space-between;
    gap: 8px 6px;
  }

  .site-ad-grid--app > a,
  .site-ad-grid--app > img,
  .site-ad-grid--app .site-ad-item {
    width: 100%;
    height: 100px;
  }
}

@media (max-width: 1080px) {
  .dh01-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }

  .dh01-nav-toggle {
    display: block;
    order: 3;
  }

  .dh01-nav {
    grid-column: 1 / -1;
    order: 4;
    display: none;
    flex-wrap: wrap;
    padding-top: 4px;
  }

  .dh01-nav.is-open {
    display: flex;
  }

  .dh01-actions {
    grid-column: 1 / -1;
    order: 5;
  }

  .dh01-search {
    width: 100%;
  }

  .dh01-feature-grid,
  .dh01-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dh01-site-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dh01-wrap {
    width: min(100% - 16px, 1180px);
  }

  .dh01-header__inner {
    min-height: 58px;
  }

  .dh01-logo {
    min-width: 0;
  }

  .dh01-logo__mark {
    width: 34px;
    height: 34px;
  }

  .site-logo__image {
    height: 34px;
  }

  .site-logo__name {
    font-size: 19px;
  }

  .dh01-search-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .dh01-detail__body h1 {
    font-size: 23px;
  }

  .dh01-feature-grid,
  .dh01-link-grid,
  .dh01-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh01-feature-grid,
  .dh01-topic-grid {
    gap: 8px;
    padding: 8px;
  }

  .dh01-link-grid {
    padding: 6px;
  }

  .dh01-info-grid,
  .dh01-detail-layout {
    grid-template-columns: 1fr;
  }

  .dh01-link-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-height: 42px;
  }

  .dh01-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .dh01-subnav::-webkit-scrollbar {
    display: none;
  }

  .dh01-subnav a {
    flex: 0 0 auto;
  }

  .dh01-detail {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .dh01-detail__icon {
    width: 82px;
    height: 82px;
    border-radius: 10px;
  }

  .dh01-detail__meta span {
    width: 100%;
  }

  .dh01-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dh01-detail-actions .dh01-visit {
    grid-column: 1 / -1;
  }

  .dh01-action-btn {
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }

  .dh01-website-preview__empty {
    min-height: 180px;
  }

  .friend-link-captcha-row {
    grid-template-columns: 1fr;
  }

  .friend-link-captcha-row img {
    width: 116px;
  }

}

@media (max-width: 430px) {
  .dh01-feature-grid,
  .dh01-link-grid,
  .dh01-topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dh01-site-card {
    min-height: 106px;
  }

  .dh01-site-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .dh01-site-row em {
    display: none;
  }

  .friend-link-form button {
    width: 100%;
  }
}

/* dh-04 entrance and list skin */
:root {
  --dh01-bg: #0b0d10;
  --dh01-panel: #141820;
  --dh01-text: #f4f6f8;
  --dh01-muted: #aab2bd;
  --dh01-line: rgba(255, 255, 255, 0.1);
  --dh01-strong: #eab308;
  --dh01-accent: #ef4444;
  --dh01-warm: #38bdf8;
  --dh01-soft: rgba(234, 179, 8, 0.12);
  --dh01-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
}

body.dh01 {
  background:
    linear-gradient(180deg, rgba(239, 68, 68, 0.18), transparent 300px),
    #0b0d10;
  color: var(--dh01-text);
}

.dh01-wrap {
  width: min(1160px, calc(100% - 24px));
}

.dh01-header {
  border-bottom: 1px solid rgba(234, 179, 8, 0.22);
  background: #0b0d10;
}

.dh01-logo,
.site-logo__name {
  color: #fff;
}

.dh01-logo__mark {
  color: #0b0d10;
  border-radius: 50%;
  background: #eab308;
}

.dh01-nav a {
  color: #d9dee5;
  border-radius: 4px;
}

.dh01-nav a:hover {
  color: #0b0d10;
}

.dh01-nav a.is-active {
  color: #0b0d10;
  background: #eab308;
}

.dh01-search,
.dh01-hero-search {
  border-color: rgba(234, 179, 8, 0.35);
  border-radius: 4px;
  background: #11151b;
}

.dh01-search input,
.dh01-hero-search input {
  color: #fff;
}

.dh01-search input::placeholder,
.dh01-hero-search input::placeholder {
  color: #9ca3af;
}

.dh01-search button,
.dh01-hero-search button,
.dh01-visit {
  color: #0b0d10;
  background: #eab308;
}

.top-resource-zone {
  background: #10141b;
}

.dhx-entrance {
  margin-top: 12px;
  margin-bottom: 16px;
  padding: 34px 30px;
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 179, 8, 0.18), rgba(239, 68, 68, 0.12)),
    #11151b;
  box-shadow: var(--dh01-shadow);
}

.dhx-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(234, 179, 8, 0.42);
  border-radius: 4px;
  color: #facc15;
  background: rgba(234, 179, 8, 0.08);
  font-weight: 900;
}

.dhx-entrance h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
}

.dhx-entrance p {
  max-width: 720px;
  margin: 10px 0 20px;
  color: #cbd5e1;
  line-height: 1.8;
}

.dhx-entrance-search {
  max-width: 620px;
  height: 50px;
}

.dh01-quick {
  gap: 8px;
}

.dh01-quick a,
.dh01-subnav a {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: #151a22;
  color: #e5e7eb;
}

.dh01-quick a:hover,
.dh01-subnav a:hover,
.dh01-subnav a.is-active {
  border-color: #eab308;
  color: #facc15;
  background: #1d232d;
}

.dh01-panel,
.dh01-info,
.dh01-search-panel,
.dh01-detail,
.dh01-topic-detail {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #141820;
  box-shadow: none;
}

.dh01-panel__head {
  border-bottom-color: rgba(234, 179, 8, 0.22);
  background: #10141b;
}

.dh01-panel__head h1,
.dh01-panel__head h2 {
  color: #facc15;
}

.dh01-panel__head a {
  color: #38bdf8;
}

.dh01-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.dh01-site-card {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #10141b;
}

.dh01-site-card__icon {
  border-radius: 6px;
}

.dh01-link-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.dh01-link-item,
.dh01-site-row {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.dh01-link-item::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #eab308;
}

.dh01-link-item span {
  min-width: 0;
}

.dh01-site-card:hover,
.dh01-link-item:hover,
.dh01-site-row:hover {
  color: #facc15;
  background: rgba(234, 179, 8, 0.08);
}

.dh01-site-card small,
.dh01-link-item small,
.dh01-site-row small,
.dh01-detail__body,
.dh01-info p {
  color: #aab2bd;
}

body.dh01 .website-apply-card {
  border-color: rgba(234, 179, 8, 0.22);
  background: #141820;
  box-shadow: var(--dh01-shadow);
  color: var(--dh01-text);
}

body.dh01 .website-apply-head h1 {
  color: #facc15;
}

body.dh01 .website-apply-head p,
body.dh01 .website-apply-message,
body.dh01 .website-apply-notice {
  color: #cbd5e1;
}

body.dh01 .website-apply-field span {
  color: #f4f6f8;
}

body.dh01 .website-apply-field input,
body.dh01 .website-apply-field select,
body.dh01 .website-apply-url {
  border-color: rgba(234, 179, 8, 0.35);
  background: #11151b;
  color: #fff;
}

body.dh01 .website-apply-field input::placeholder,
body.dh01 .website-apply-url input::placeholder {
  color: #9ca3af;
}

body.dh01 .website-apply-url em {
  border-right-color: rgba(234, 179, 8, 0.22);
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
}

body.dh01 .website-apply-url input {
  background: transparent;
  color: #fff;
}

body.dh01 .website-apply-url:focus-within,
body.dh01 .website-apply-field input:focus,
body.dh01 .website-apply-field select:focus {
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}

body.dh01 .website-apply-captcha img {
  border-color: rgba(234, 179, 8, 0.35);
  background: #11151b;
}

body.dh01 .website-apply-form button {
  color: #0b0d10;
  background: #eab308;
}

body.dh01 .website-apply-form button:hover {
  background: #facc15;
}

body.dh01 .website-apply-message.is-success {
  color: #facc15;
}

body.dh01 .website-apply-message.is-error {
  color: #ef4444;
}

body.dh01 .website-apply-notice {
  border-top-color: rgba(234, 179, 8, 0.22);
}

.dh01-footer {
  border-top-color: rgba(234, 179, 8, 0.22);
  background: #0b0d10;
}

.dh01-footer a,
.dh01-footer span,
.dh01-footer strong {
  color: #d1d5db;
}

@media (max-width: 920px) {
  .dh01-feature-grid,
  .dh01-link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dhx-entrance {
    padding: 24px 18px;
  }
}

@media (max-width: 560px) {
  .dhx-entrance h1 {
    font-size: 27px;
  }

  .dh01-link-grid,
  .dh01-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
