:root {
    --body-bg: #edf2f7;
    --panel-bg: #ffffff;
    --panel-soft: #f7f9fc;
    --border: #edf1f5;
    --border-strong: #d8e1ee;
    --text: #5f6c83;
    --text-strong: #50627a;
    --text-title: #3f4f67;
    --blue: #4d73e9;
    --blue-strong: #3f67df;
    --cyan: #12b5df;
    --link: #6f83a2;
    --shadow: 0 1px 3px rgba(74, 97, 126, 0.05);
    --radius: 6px;
    --header-height: 66px;
}

[data-theme="dark"] {
    --body-bg: #0f1722;
    --panel-bg: #172130;
    --panel-soft: #1d2b3d;
    --border: #243346;
    --border-strong: #31445c;
    --text: #9bb0c8;
    --text-strong: #c2d4e8;
    --text-title: #e8f0f8;
    --link: #a9bed6;
    --shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--body-bg);
    color: var(--text);
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body.dh-lightbox-open {
    overflow: hidden;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--blue);
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.dh-kicker,
.dh-section-kicker {
    margin: 0;
    color: var(--blue);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dh-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.dh-main {
    padding-bottom: 30px;
}

.dh-panel,
.dh-widget {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.dh-header {
    background: var(--panel-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 60;
}

.dh-header-inner {
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    align-items: center;
    min-height: var(--header-height);
    gap: 20px;
}

.dh-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    height: var(--header-height);
}

.dh-brand-logo {
    max-width: 132px;
    max-height: 38px;
    width: auto;
    height: auto;
}

.dh-nav {
    display: flex;
    justify-content: center;
}

.dh-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dh-nav-item {
    position: relative;
}

.dh-nav-item > a {
    display: inline-flex;
    align-items: center;
    height: var(--header-height);
    color: var(--text-title);
    font-size: 15px;
    font-weight: 600;
}

.dh-nav-item > a.is-active,
.dh-nav-item > a:hover {
    color: var(--blue);
}

.dh-subnav {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    display: none;
    min-width: 150px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(53, 74, 100, 0.08);
}

.dh-subnav a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
}

.dh-nav-item:hover .dh-subnav {
    display: block;
}

.dh-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.dh-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.dh-action-button:hover {
    color: #fff;
    background: var(--blue-strong);
}

.dh-icon-button {
    position: relative;
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent;
    color: var(--text-title);
    cursor: pointer;
    padding: 0;
}

.dh-theme-button,
.dh-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dh-icon-sun,
.dh-icon-moon,
.dh-icon-search {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
}

.dh-icon-sun::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 3px auto 0;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.dh-icon-moon::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    margin: 2px auto 0;
    border-radius: 50%;
    box-shadow: 4px 0 0 0 currentColor;
    transform: translateX(-3px);
}

.dh-icon-search::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.dh-icon-search::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 7px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: right center;
}

[data-theme="dark"] .dh-icon-sun {
    opacity: 1;
}

[data-theme="dark"] .dh-icon-moon {
    opacity: 0;
}

:not([data-theme="dark"]) .dh-icon-sun {
    opacity: 0;
}

:not([data-theme="dark"]) .dh-icon-moon {
    opacity: 1;
}

.dh-mobile-toggle {
    display: none;
}

.dh-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto 3px;
    background: currentColor;
}

.dh-header-notice-wrap {
    display: none;
}

.dh-hero {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 18px;
    background: linear-gradient(90deg, #3c67d9 0%, #11b8dd 100%);
    border-bottom: 1px solid #93b7f9;
    overflow: hidden;
}

.dh-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 320px;
    padding: 58px 24px 96px;
    text-align: center;
}

.dh-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.6;
    font-weight: 700;
}

.dh-hero-lead {
    display: none;
}

.dh-search-panel {
    width: 100%;
    max-width: 930px;
    margin: 34px auto 0;
}

.dh-feature-grid-wrap {
    margin-top: -6px;
    margin-bottom: 18px;
}

.dh-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dh-highlight-card {
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(14, 45, 92, 0.14);
    text-align: left;
}

.dh-highlight-head {
    padding: 14px 18px;
    background: linear-gradient(90deg, #78e7cb 0%, #4fd57d 100%);
}

.dh-highlight-head h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.dh-rank-list {
    margin: 0;
    padding: 10px 18px 14px;
    list-style: none;
}

.dh-rank-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed #e8eef8;
}

.dh-rank-list li:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.dh-rank-list a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 600;
}

.dh-rank-list strong {
    color: #ff2f2f;
    font-size: 14px;
    font-weight: 700;
}

.dh-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.dh-rank-badge-1 {
    background: linear-gradient(135deg, #ff6374 0%, #ff4e4e 100%);
}

.dh-rank-badge-2 {
    background: linear-gradient(135deg, #ffb45e 0%, #ff8b3d 100%);
}

.dh-rank-badge-3 {
    background: linear-gradient(135deg, #4d97ef 0%, #3d75d8 100%);
}

.dh-rank-badge-4 {
    background: linear-gradient(135deg, #66dc85 0%, #41c96b 100%);
}

.dh-latest-list {
    padding: 8px 18px 14px;
}

.dh-latest-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #e8eef8;
}

.dh-latest-item:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.dh-latest-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #f2f6fd;
}

.dh-latest-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-latest-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--blue);
    font-size: 20px;
    font-weight: 700;
}

.dh-latest-copy {
    min-width: 0;
}

.dh-latest-copy h3 {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 700;
}

.dh-latest-copy p {
    margin: 6px 0 0;
    color: #8fa0b7;
    font-size: 13px;
}

.dh-latest-item time {
    color: #ff2f2f;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.dh-search-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 auto 4px;
    padding: 0;
}

.dh-search-tab {
    border: 0;
    border-radius: 4px 4px 0 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
}

.dh-search-tab.is-active {
    color: var(--blue);
    background: #fff;
}

.dh-search-form {
    display: none;
    grid-template-columns: 1fr 156px;
    background: #fff;
    border-radius: 0 4px 4px 4px;
    overflow: hidden;
    border: 1px solid #d9e3f2;
}

.dh-search-form.is-active {
    display: grid;
}

.dh-search-form input {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border: 0;
    outline: none;
    color: #5d6a80;
    background: #fff;
}

.dh-search-form button {
    height: 44px;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.dh-hero-scene {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 114px;
    overflow: hidden;
}

.dh-scene-stars {
    position: absolute;
    inset: 0 0 24px;
    background-image:
        radial-gradient(circle at 9% 38%, rgba(255,255,255,.9) 0 2px, transparent 2.5px),
        radial-gradient(circle at 18% 16%, rgba(255,255,255,.75) 0 1.5px, transparent 2px),
        radial-gradient(circle at 41% 28%, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
        radial-gradient(circle at 60% 14%, rgba(255,255,255,.78) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 82% 22%, rgba(255,255,255,.82) 0 1.5px, transparent 2px),
        radial-gradient(circle at 92% 40%, rgba(255,255,255,.75) 0 1.6px, transparent 2px);
}

.dh-scene-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.dh-scene-layer-back {
    height: 56px;
    background:
        polygon(0 100%, 0 45%, 4% 67%, 8% 50%, 12% 73%, 18% 39%, 26% 73%, 33% 42%, 41% 78%, 48% 34%, 58% 72%, 66% 44%, 75% 81%, 84% 38%, 93% 69%, 100% 46%, 100% 100%);
}

.dh-scene-layer-back::before,
.dh-scene-layer-mid::before,
.dh-scene-layer-front::before {
    content: "";
    position: absolute;
    inset: 0;
}

.dh-scene-layer-back::before {
    background: #525b73;
    clip-path: polygon(0 100%, 0 46%, 5% 75%, 9% 61%, 15% 86%, 22% 49%, 28% 82%, 36% 55%, 44% 84%, 51% 39%, 60% 78%, 69% 44%, 79% 87%, 89% 43%, 95% 70%, 100% 55%, 100% 100%);
}

.dh-scene-layer-mid {
    height: 68px;
}

.dh-scene-layer-mid::before {
    background: #f5f8fc;
    clip-path: polygon(0 100%, 0 55%, 5% 81%, 10% 61%, 16% 88%, 23% 46%, 30% 86%, 38% 52%, 47% 91%, 56% 49%, 64% 86%, 71% 58%, 80% 94%, 89% 51%, 95% 78%, 100% 60%, 100% 100%);
}

.dh-scene-layer-front {
    height: 82px;
}

.dh-scene-layer-front::before {
    background: linear-gradient(180deg, #ffffff, #e7eef6);
    clip-path: polygon(0 100%, 0 63%, 7% 92%, 14% 58%, 20% 91%, 29% 45%, 36% 89%, 46% 58%, 53% 95%, 62% 47%, 71% 89%, 79% 55%, 87% 96%, 95% 58%, 100% 74%, 100% 100%);
}

.dh-scene-bear {
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 48px;
    height: 22px;
    margin-left: -24px;
    background: rgba(255,255,255,.85);
    border-radius: 18px 18px 10px 10px;
    box-shadow: 16px 4px 0 -9px rgba(255,255,255,.85), -16px 2px 0 -14px rgba(255,255,255,.85);
}

.dh-home-grid {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.dh-quick-nav {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.dh-quick-nav-card {
    padding: 10px;
    background: var(--panel-bg);
    border: 1px solid #e8edf5;
    box-shadow: 0 8px 22px rgba(60, 87, 122, 0.06);
}

.dh-quick-nav-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dh-quick-nav-card li {
    margin: 0;
}

.dh-quick-nav-card a {
    display: block;
    padding: 18px 12px;
    color: var(--text-strong);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    border-radius: 0;
}

.dh-quick-nav-card a:hover {
    color: var(--cyan);
}

.dh-quick-nav-card a.is-active,
.dh-quick-nav-card.is-sort-nav a:hover,
.dh-quick-nav-card.is-section-nav a:hover {
    color: var(--cyan);
    background: linear-gradient(180deg, #edf9ff 0%, #f8fcff 100%);
}

.dh-quick-nav-card a.is-active::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: #b4bfce;
}

.dh-home-content {
    min-width: 0;
}

.dh-home-content.is-wide {
    grid-column: 1 / -1;
}

.dh-section {
    margin-bottom: 20px;
    padding: 0;
}

.dh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 22px;
    border-bottom: 1px solid var(--border);
}

.dh-section-head h2 {
    margin: 0;
    color: var(--text-title);
    font-size: 17px;
    font-weight: 700;
}

.dh-section-more {
    font-size: 13px;
    color: var(--text);
}

.dh-site-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 22px 22px 18px;
}

.dh-site-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 12px;
    align-items: start;
    padding: 14px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dh-site-card:hover {
    transform: none;
    box-shadow: none;
    background: #fafcff;
}

.dh-site-card-icon {
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
}

.dh-site-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-site-card-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ddebff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.dh-site-card-body {
    min-width: 0;
}

.dh-site-card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dh-site-card-title-row h3 {
    margin: 0;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dh-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 11px;
}

.dh-site-card-domain {
    margin-top: 2px;
    color: #b1c0d4;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dh-site-card-body p {
    display: -webkit-box;
    margin: 4px 0 0;
    color: #a3b2c7;
    font-size: 12px;
    line-height: 1.7;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dh-site-card-arrow {
    position: relative;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid #cfd8e6;
    border-radius: 50%;
}

.dh-site-card-arrow::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #9eb0c8;
    border-right: 1px solid #9eb0c8;
    transform: rotate(45deg);
}

.dh-article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
}

.dh-article-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel-bg);
    box-shadow: none;
}

.dh-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(72, 98, 128, 0.08);
}

.dh-article-card-cover {
    display: block;
    aspect-ratio: 1.68 / 1;
    background: #ecf2fb;
}

.dh-article-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-article-card-cover span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
}

.dh-article-card-body {
    padding: 12px 14px 14px;
}

.dh-article-card-body h3 {
    margin: 0;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    height: 52px;
    overflow: hidden;
}

.dh-article-card-body p {
    display: -webkit-box;
    min-height: 40px;
    margin: 6px 0 0;
    color: #a3b2c7;
    font-size: 12px;
    line-height: 1.6;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dh-article-card-meta {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    color: #a3b2c7;
    font-size: 12px;
}

.dh-links-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    padding: 20px 22px 22px;
}

.dh-friend-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dh-friend-link-card:hover {
    color: var(--link);
    border-color: #d7e5ff;
    box-shadow: 0 10px 24px rgba(77, 115, 233, 0.08);
    transform: translateY(-1px);
}

.dh-friend-link-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #edf3ff 0%, #dce8ff 100%);
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.dh-friend-link-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dh-friend-link-copy strong,
.dh-friend-link-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dh-friend-link-copy strong {
    color: var(--text-title);
    font-size: 15px;
    font-weight: 700;
}

.dh-friend-link-copy small {
    color: #8ea0b8;
    font-size: 12px;
}

.dh-footer {
    padding: 14px 0 24px;
}

.dh-footer-inner {
    text-align: center;
    color: #98a8bc;
    font-size: 12px;
}

.dh-footer-inner p {
    margin: 0 0 4px;
}

.dh-footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.dh-floating-tools {
    position: fixed;
    right: 22px;
    bottom: 34px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dh-floating-button {
    position: relative;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(82, 100, 126, 0.16);
    cursor: pointer;
}

.dh-floating-top::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #8fa0b7;
    border-left: 2px solid #8fa0b7;
    transform: rotate(45deg);
}

.dh-floating-edit::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 11px;
    width: 11px;
    height: 11px;
    border-right: 2px solid #8fa0b7;
    border-bottom: 2px solid #8fa0b7;
    transform: rotate(-45deg);
}

#dh-back-to-top {
    opacity: 0;
    visibility: hidden;
}

#dh-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.dh-pagination,
.dh-comment-pager {
    padding: 0 0 18px;
}

.dh-pagination a,
.dh-pagination span,
.dh-comment-pager a,
.dh-comment-pager span {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    margin-right: 6px;
    padding: 0 10px;
    border: 1px solid var(--border);
    line-height: 28px;
    text-align: center;
    background: var(--panel-bg);
}

.dh-detail-wrap,
.dh-page-layout,
.dh-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    margin-top: 16px;
}

.dh-detail-wrap {
    grid-template-columns: 1fr;
}

.dh-site-hero-card,
.dh-article-hero-card,
.dh-detail-content,
.dh-widget,
.dh-links-section .dh-panel {
    border-radius: 0;
}

.dh-list-banner {
    margin-top: 16px;
}

.dh-list-banner-card,
.dh-empty-state {
    padding: 18px;
}

.dh-empty-state {
    text-align: center;
}

.dh-empty-state h2 {
    margin: 0 0 8px;
    color: var(--text-title);
    font-size: 20px;
}

.dh-site-hero-card,
.dh-article-hero-card,
.dh-detail-content {
    padding: 24px;
}

.dh-site-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 26px;
}

.dh-site-hero-brand {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
}

.dh-site-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--panel-soft);
}

.dh-site-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dh-site-hero-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--blue);
    font-size: 30px;
    font-weight: 700;
}

.dh-site-hero-copy h1,
.dh-article-hero-card h1,
.dh-section-head h2,
.dh-widget-head h3 {
    color: var(--text-title);
}

.dh-site-hero-copy p {
    margin: 0 0 8px;
}

.dh-meta-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.dh-meta-list div {
    display: flex;
    gap: 8px;
}

.dh-meta-list dt {
    min-width: 70px;
    color: var(--text-strong);
}

.dh-meta-list dd {
    margin: 0;
}

.dh-site-actions,
.dh-seo-links,
.dh-article-meta,
.dh-detail-meta,
.dh-neighbor-nav,
.dh-comment-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dh-primary-link,
.dh-secondary-link,
.dh-submit-input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.dh-secondary-link {
    background: #f3f7fd;
    color: var(--text-title);
    border: 1px solid var(--border);
}

.dh-site-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel-soft);
    border-radius: 10px;
}

.dh-site-preview img,
.dh-article-cover img {
    width: 100%;
    height: auto;
}

.dh-site-preview.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.dh-article-cover {
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.dh-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.dh-tag {
    padding: 3px 10px;
    border-radius: 14px;
    background: #f3f7fd;
    font-size: 12px;
}

.side-bar {
    display: grid;
    gap: 16px;
}

.dh-widget {
    padding: 16px;
}

.dh-widget-head {
    margin-bottom: 12px;
}

.dh-widget-head h3 {
    margin: 0;
    font-size: 16px;
}

.dh-widget-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dh-widget-list li + li {
    margin-top: 8px;
}

.dh-widget-search {
    display: grid;
    grid-template-columns: 1fr 70px;
    gap: 8px;
}

.dh-widget-search input,
.dh-input,
.dh-textarea,
.dh-archive-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border-strong);
    background: #fff;
    outline: none;
}

.dh-textarea {
    min-height: 120px;
    resize: vertical;
}

.dh-author-card {
    text-align: center;
}

.dh-author-card img {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: 50%;
}

.dh-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-tag-cloud a {
    padding: 4px 8px;
    background: #f3f7fd;
    font-size: 12px;
}

.dh-comment-header {
    margin-bottom: 10px;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 700;
}

.dh-comment-form {
    display: grid;
    gap: 12px;
}

.dh-comment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dh-comment-actions {
    display: flex;
    justify-content: flex-end;
}

.dh-comment {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.dh-comment-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.dh-comment-body {
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--panel-soft);
}

.dh-comment-content {
    margin-top: 6px;
}

.dh-comment-reply {
    margin-top: 6px;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.dh-comment-children {
    margin-top: 10px;
    padding-left: 14px;
    border-left: 2px solid var(--border-strong);
}

.dh-lightbox-target,
.dh-detail-markdown img {
    cursor: zoom-in;
}

.dh-detail-markdown img {
    margin: 18px auto;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(60, 87, 122, 0.08);
}

.dh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    padding: 32px;
    background: rgba(17, 24, 39, 0.82);
    backdrop-filter: blur(6px);
}

.dh-lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: zoom-out;
}

.dh-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1280px, 100%);
    max-height: calc(100vh - 64px);
    padding: 18px 18px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
    overflow: hidden;
}

.dh-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(76vh, 760px);
    background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
    border-radius: 12px;
    overflow: auto;
}

.dh-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
}

.dh-lightbox-close,
.dh-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(25, 36, 55, 0.8);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.dh-lightbox-close:hover,
.dh-lightbox-nav:hover {
    background: rgba(25, 36, 55, 0.95);
    transform: translateY(-1px);
}

.dh-lightbox-close {
    top: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    font-size: 24px;
    line-height: 1;
}

.dh-lightbox-nav {
    top: 50%;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    font-size: 22px;
}

.dh-lightbox-nav.is-hidden {
    display: none;
}

.dh-lightbox-nav-prev {
    left: 30px;
}

.dh-lightbox-nav-next {
    right: 30px;
}

.dh-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    color: var(--text);
}

.dh-lightbox-caption {
    min-width: 0;
    color: var(--text-title);
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dh-lightbox-count {
    color: #8fa0b7;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 0 14px;
    }

    .dh-header-inner {
        grid-template-columns: 1fr auto;
        gap: 10px;
        min-height: 60px;
    }

    .dh-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 70;
        display: none;
        justify-content: flex-start;
        padding: 10px;
        background: var(--panel-bg);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    body.is-nav-open .dh-nav {
        display: flex;
    }

    .dh-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .dh-nav-item,
    .dh-nav-item > a {
        width: 100%;
        height: auto;
    }

    .dh-nav-item > a {
        padding: 10px 0;
    }

    .dh-subnav {
        position: static;
        display: block;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 12px;
    }

    .dh-mobile-toggle {
        display: inline-block;
    }

    .dh-action-button {
        display: none;
    }

    .dh-hero-inner {
        min-height: 220px;
        padding: 36px 12px 78px;
    }

    .dh-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 18px;
    }

    .dh-home-grid {
        grid-template-columns: 1fr;
    }

    .dh-quick-nav {
        display: none;
    }

    .dh-site-grid,
    .dh-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dh-article-layout,
    .dh-page-layout,
    .dh-site-hero-main {
        grid-template-columns: 1fr;
    }

    .dh-links-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dh-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dh-lightbox {
        padding: 18px;
    }

    .dh-lightbox-dialog {
        max-height: calc(100vh - 36px);
        padding: 14px 14px 12px;
    }

    .dh-lightbox-close,
    .dh-lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .dh-lightbox-close {
        top: 18px;
        right: 18px;
    }

    .dh-lightbox-nav-prev {
        left: 18px;
    }

    .dh-lightbox-nav-next {
        right: 18px;
    }
}

@media (max-width: 640px) {
    .dh-header-inner {
        grid-template-columns: auto 1fr auto;
        min-height: 60px;
    }

    .dh-brand {
        height: 60px;
    }

    .dh-brand-logo {
        max-width: 116px;
        max-height: 30px;
    }

    .dh-header-actions {
        gap: 10px;
    }

    .dh-theme-button,
    .dh-search-button,
    .dh-mobile-toggle {
        width: 24px;
        height: 24px;
    }

    .dh-search-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .dh-search-tabs::-webkit-scrollbar {
        display: none;
    }

    .dh-search-tab {
        flex: 0 0 auto;
        padding: 7px 10px;
    }

    .dh-search-form {
        grid-template-columns: 1fr 110px;
    }

    .dh-hero-copy h1 {
        font-size: 18px;
        padding: 0 14px;
    }

    .dh-site-grid,
    .dh-article-grid {
        grid-template-columns: 1fr;
    }

    .dh-site-card {
        grid-template-columns: 34px minmax(0, 1fr) 20px;
        padding: 10px 4px;
    }

    .dh-site-card-title-row h3 {
        font-size: 15px;
    }

    .dh-section-head {
        min-height: 48px;
        padding: 0 12px;
    }

    .dh-site-grid,
    .dh-article-grid {
        padding: 12px;
    }

    .dh-highlight-head {
        padding: 12px 14px;
    }

    .dh-highlight-head h2 {
        font-size: 18px;
    }

    .dh-rank-list,
    .dh-latest-list {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dh-rank-list li {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .dh-rank-badge {
        width: 34px;
        height: 22px;
        font-size: 13px;
    }

    .dh-latest-item {
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
    }

    .dh-latest-item time {
        grid-column: 2;
    }

    .dh-latest-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .dh-links-cloud {
        grid-template-columns: 1fr;
        padding: 14px 12px 16px;
    }

    .dh-feature-grid-wrap {
        margin-bottom: 14px;
    }

    .dh-friend-link-card {
        min-height: 64px;
        padding: 12px 14px;
    }

    .dh-floating-tools {
        right: 14px;
        bottom: 18px;
    }

    .dh-lightbox {
        padding: 12px;
    }

    .dh-lightbox-dialog {
        border-radius: 14px;
    }

    .dh-lightbox-stage {
        min-height: 56vh;
    }

    .dh-lightbox-stage img {
        max-height: 60vh;
    }

    .dh-lightbox-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .dh-comment-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}
