@charset "UTF-8";
/*
 * DzdzCMS 资源下载站模板 - 主样式
 * 工具类下载站视觉：深蓝 + 科技蓝 + 少量橙色强调，PC 优先，兼顾窄屏
 */

:root {
    --rd-brand: #2563eb;
    --rd-brand-dark: #1d4ed8;
    --rd-brand-light: #e8f0ff;
    --rd-cyan: #06b6d4;
    --rd-orange: #f97316;
    --rd-navy: #0b1530;
    --rd-navy-2: #101d3f;
    --rd-ink: #0f172a;
    --rd-text: #344054;
    --rd-muted: #64748b;
    --rd-line: #e4e9f2;
    --rd-bg: #f4f7fb;
    --rd-surface: #ffffff;
    --rd-radius: 16px;
    --rd-radius-sm: 10px;
    --rd-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    --rd-shadow-sm: 0 6px 18px rgba(15, 23, 42, .06);
    --rd-container: 1200px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body.rd-body {
    margin: 0;
    padding: 0;
    background: var(--rd-bg);
    color: var(--rd-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;
}

.rd-body img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

.rd-body a {
    color: var(--rd-brand);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.rd-body a:hover {
    color: var(--rd-brand-dark);
}

.rd-body h1,
.rd-body h2,
.rd-body h3,
.rd-body h4,
.rd-body h5,
.rd-body p,
.rd-body ul,
.rd-body ol {
    margin-top: 0;
}

.rd-body ul,
.rd-body ol {
    padding-left: 20px;
}

.rd-container {
    width: 100%;
    max-width: var(--rd-container);
    margin: 0 auto;
    padding: 0 20px;
}

.rd-main {
    min-height: 40vh;
    overflow: hidden;
}

.rd-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: -3px;
}

.rd-ico-xs {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    vertical-align: -2px;
}

.rd-sep {
    color: rgba(255, 255, 255, .28);
    margin: 0 8px;
}

/* ---------- 顶部信息条 ---------- */
.rd-topbar {
    background: var(--rd-navy);
    color: rgba(255, 255, 255, .66);
    font-size: 12.5px;
    line-height: 38px;
}

.rd-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rd-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-topbar-left .rd-ico {
    color: var(--rd-cyan);
    width: 15px;
    height: 15px;
}

.rd-topbar-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.rd-topbar-right a {
    color: rgba(255, 255, 255, .72);
}

.rd-topbar-right a:hover {
    color: #fff;
}

/* ---------- 头部 ---------- */
.rd-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--rd-line);
    backdrop-filter: saturate(180%) blur(12px);
    transition: box-shadow .25s ease;
}

.rd-header.is-scrolled {
    box-shadow: 0 8px 26px rgba(15, 23, 42, .08);
}

.rd-header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 78px;
}

.rd-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: var(--rd-ink) !important;
}

.rd-logo-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.rd-logo-mark svg {
    width: 100%;
    height: 100%;
}

.rd-logo-mark-sm {
    width: 34px;
    height: 34px;
}

.rd-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.rd-logo-text strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--rd-ink);
}

.rd-logo-text em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--rd-muted);
    letter-spacing: 1px;
}

.rd-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
}

.rd-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    color: #334155 !important;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.rd-nav-link:hover {
    color: var(--rd-brand) !important;
    background: var(--rd-brand-light);
}

.rd-nav-link.is-active {
    color: var(--rd-brand) !important;
    font-weight: 700;
}

.rd-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -19px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--rd-brand), var(--rd-cyan));
}

.rd-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    flex: 0 0 auto;
    height: 42px;
    padding: 0 4px 0 38px;
    background: #f2f5fa;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: border-color .2s ease, background-color .2s ease;
}

.rd-search:focus-within {
    background: #fff;
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.rd-search-icon {
    position: absolute;
    left: 12px;
    width: 17px;
    height: 17px;
    color: #94a3b8;
}

.rd-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--rd-ink);
    font-size: 13.5px;
    font-family: inherit;
}

.rd-search input::placeholder {
    color: #9aa7ba;
}

.rd-search button {
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--rd-brand);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s ease;
}

.rd-search button:hover {
    background: var(--rd-brand-dark);
}

.rd-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rd-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rd-ink);
    cursor: pointer;
}

.rd-mobile-panel {
    display: none;
    padding: 14px 20px 20px;
    border-top: 1px solid var(--rd-line);
    background: #fff;
}

.rd-mobile-panel.is-open {
    display: block;
}

.rd-mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.rd-mobile-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--rd-line);
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.rd-mobile-search button {
    width: 46px;
    border: 0;
    border-radius: 9px;
    background: var(--rd-brand);
    color: #fff;
    cursor: pointer;
}

.rd-mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rd-mobile-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    background: #f5f7fb;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

/* ---------- 按钮 ---------- */
.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}

.rd-btn-primary {
    background: linear-gradient(135deg, var(--rd-brand), #3b82f6);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.rd-btn-primary:hover {
    background: linear-gradient(135deg, var(--rd-brand-dark), var(--rd-brand));
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, .28);
}

.rd-btn-ghost {
    background: #fff;
    border-color: var(--rd-line);
    color: #334155 !important;
}

.rd-btn-ghost:hover {
    border-color: rgba(37, 99, 235, .4);
    color: var(--rd-brand) !important;
    background: #f8fbff;
}

.rd-btn-light {
    background: #fff;
    color: var(--rd-brand) !important;
    box-shadow: 0 8px 20px rgba(7, 18, 45, .16);
}

.rd-btn-light:hover {
    color: var(--rd-brand-dark) !important;
    transform: translateY(-1px);
}

.rd-btn-outline-light {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .42);
    color: #fff !important;
}

.rd-btn-outline-light:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .72);
    color: #fff !important;
}

.rd-btn-ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .36);
    color: #fff !important;
}

.rd-btn-ghost-light:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
}

.rd-btn-lg {
    min-height: 50px;
    padding: 0 28px;
    font-size: 15px;
    border-radius: 12px;
}

.rd-btn-sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
}

.rd-btn-block {
    width: 100%;
}

/* ---------- 首页 Banner ---------- */
.rd-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1100px 560px at 82% 12%, rgba(37, 99, 235, .38), transparent 62%),
                radial-gradient(760px 460px at 8% 92%, rgba(6, 182, 212, .2), transparent 60%),
                linear-gradient(135deg, #081127 0%, #0b1a3d 52%, #0e2452 100%);
    color: #fff;
}

.rd-hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
    pointer-events: none;
}

.rd-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 50px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 82px;
}

.rd-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(94, 234, 212, .32);
    border-radius: 999px;
    background: rgba(6, 182, 212, .1);
    color: #7dd3fc;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .5px;
}

.rd-hero-kicker .rd-ico {
    width: 15px;
    height: 15px;
    color: #5eead4;
}

.rd-hero h1 {
    margin: 22px 0 18px;
    font-size: 54px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.rd-hero-lead {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(226, 240, 255, .78);
    font-size: 16px;
    line-height: 1.9;
}

.rd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.rd-hero-search {
    max-width: 560px;
    margin-bottom: 34px;
}

.rd-hero-search form {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 6px 6px 6px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.rd-hero-search form .rd-ico {
    color: rgba(255, 255, 255, .6);
}

.rd-hero-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
}

.rd-hero-search input::placeholder {
    color: rgba(226, 240, 255, .52);
}

.rd-hero-search button {
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--rd-brand), var(--rd-cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.rd-hero-hotwords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: rgba(226, 240, 255, .52);
    font-size: 12.5px;
}

.rd-hero-hotwords a {
    color: rgba(226, 240, 255, .76) !important;
}

.rd-hero-hotwords a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.rd-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
}

.rd-hero-stat {
    min-width: 118px;
    padding-right: 26px;
    margin-right: 26px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.rd-hero-stat:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.rd-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.rd-hero-stat strong em {
    font-style: normal;
    color: #5eead4;
    font-size: 16px;
    margin-left: 3px;
}

.rd-hero-stat span {
    display: block;
    margin-top: 4px;
    color: rgba(226, 240, 255, .52);
    font-size: 12.5px;
}

.rd-hero-visual {
    position: relative;
    min-height: 470px;
}

.rd-hero-glow {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .5), transparent 68%);
    filter: blur(20px);
}

.rd-float-card {
    position: absolute;
    display: block;
    width: 320px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px rgba(2, 8, 23, .38);
    backdrop-filter: blur(12px);
    transition: transform .3s ease, box-shadow .3s ease;
}

.rd-float-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(2, 8, 23, .48);
}

.rd-float-thumb {
    overflow: hidden;
    border-radius: 10px;
    background: #0e1b3d;
}

.rd-float-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rd-float-info {
    padding: 12px 8px 6px;
}

.rd-float-type {
    display: inline-block;
    margin-bottom: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(94, 234, 212, .14);
    color: #5eead4;
    font-size: 11px;
    font-weight: 600;
}

.rd-float-info strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rd-float-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    color: rgba(226, 240, 255, .58);
    font-size: 11.5px;
}

.rd-float-card-1 {
    top: 12px;
    left: 50%;
    transform: translateX(-54%) rotate(-2.2deg);
    z-index: 3;
}

.rd-float-card-1:hover {
    transform: translateX(-54%) translateY(-6px) rotate(-2.2deg);
}

.rd-float-card-2 {
    top: 168px;
    left: 0;
    transform: rotate(2.4deg) scale(.94);
    opacity: .96;
    z-index: 2;
}

.rd-float-card-2:hover {
    transform: rotate(2.4deg) scale(.94) translateY(-6px);
}

.rd-float-card-3 {
    top: 238px;
    right: 0;
    transform: rotate(-2.6deg) scale(.92);
    opacity: .92;
    z-index: 1;
}

.rd-float-card-3:hover {
    transform: rotate(-2.6deg) scale(.92) translateY(-6px);
}

.rd-hero-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(11, 21, 48, .72);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .3);
    backdrop-filter: blur(8px);
    z-index: 5;
}

.rd-hero-badge .rd-ico {
    width: 15px;
    height: 15px;
    color: #5eead4;
}

.rd-hero-badge-1 {
    left: -6px;
    bottom: 42px;
}

.rd-hero-badge-2 {
    right: -4px;
    top: 64px;
}

.rd-hero-empty {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    border: 1px dashed rgba(255, 255, 255, .24);
    border-radius: 18px;
    color: rgba(226, 240, 255, .62);
    text-align: center;
}

.rd-hero-empty .rd-ico {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: rgba(226, 240, 255, .45);
}

/* ---------- 快捷分类 ---------- */
.rd-quicknav {
    background: #fff;
    border-bottom: 1px solid var(--rd-line);
}

.rd-quicknav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 40px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.rd-quicknav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rd-quicknav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
    color: var(--rd-ink);
    font-size: 13px;
    font-weight: 700;
}

.rd-quicknav-label .rd-ico-xs {
    color: var(--rd-brand);
}

.rd-quicknav-group a {
    padding: 5px 12px;
    border: 1px solid var(--rd-line);
    border-radius: 999px;
    background: #fafbfd;
    color: #475569 !important;
    font-size: 12.5px;
}

.rd-quicknav-group a:hover {
    border-color: rgba(37, 99, 235, .34);
    background: var(--rd-brand-light);
    color: var(--rd-brand) !important;
}

/* ---------- 通用区块 ---------- */
.rd-section {
    padding: 72px 0;
}

.rd-section-muted {
    background: #eef3fa;
}

.rd-section-dark {
    background: radial-gradient(900px 420px at 88% 0%, rgba(37, 99, 235, .34), transparent 62%),
                linear-gradient(135deg, #0a142c, #101f45);
}

.rd-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.rd-section-title {
    max-width: 720px;
}

.rd-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--rd-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.rd-section-title h2 {
    margin: 0 0 8px;
    color: var(--rd-ink);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.4px;
}

.rd-section-title p {
    margin: 0;
    color: var(--rd-muted);
    font-size: 14px;
}

.rd-section-dark .rd-section-title h2,
.rd-section-dark .rd-section-title p {
    color: #fff;
}

.rd-section-dark .rd-section-title p {
    color: rgba(226, 240, 255, .62);
}

.rd-section-dark .rd-section-kicker {
    color: #7dd3fc;
}

.rd-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 38px;
    padding: 0 15px;
    border: 1px solid var(--rd-line);
    border-radius: 9px;
    background: #fff;
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
}

.rd-more:hover {
    border-color: rgba(37, 99, 235, .35);
    color: var(--rd-brand) !important;
}

.rd-more-light {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
    color: #e2e8f0 !important;
}

.rd-more-light:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff !important;
}

.rd-grid {
    display: grid;
    gap: 24px;
}

.rd-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.rd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 24px;
    border: 1px dashed var(--rd-line);
    border-radius: var(--rd-radius);
    background: #fff;
    color: var(--rd-muted);
    text-align: center;
}

.rd-empty .rd-ico {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    color: #b6c2d4;
}

.rd-empty h3 {
    margin: 0 0 6px;
    color: var(--rd-ink);
    font-size: 17px;
}

.rd-empty p {
    margin: 0;
    font-size: 13.5px;
}

.rd-empty-large {
    padding: 76px 24px;
}

.rd-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.rd-empty-light {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    color: rgba(226, 240, 255, .62);
}

/* ---------- 资源卡片 ---------- */
.rd-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rd-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .26);
    box-shadow: var(--rd-shadow);
}

.rd-card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e8eef8;
}

.rd-card-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .4s ease;
}

.rd-card:hover .rd-card-cover img {
    transform: scale(1.035);
}

.rd-card-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(2, 8, 23, .18);
}

.rd-card-type-template {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.rd-card-type-plugin {
    background: linear-gradient(135deg, #0f9b8e, #06b6d4);
}

.rd-card-version {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(11, 21, 48, .62);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.rd-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.rd-card-cat {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 7px;
    color: var(--rd-brand) !important;
    font-size: 11.5px;
    font-weight: 600;
}

.rd-card-cat::before {
    content: "#";
    margin-right: 2px;
    opacity: .7;
}

.rd-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}

.rd-card-title a {
    color: var(--rd-ink) !important;
}

.rd-card-title a:hover {
    color: var(--rd-brand) !important;
}

.rd-card-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin-bottom: 14px;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rd-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--rd-line);
    color: #8a97a8;
    font-size: 12px;
}

.rd-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.rd-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.rd-card-actions .rd-btn {
    flex: 1;
}

/* ---------- 最新更新条 ---------- */
.rd-updates {
    background: #fff;
    border-top: 1px solid var(--rd-line);
    border-bottom: 1px solid var(--rd-line);
}

.rd-updates-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.rd-updates-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding-right: 24px;
    border-right: 1px solid var(--rd-line);
}

.rd-updates-label > .rd-ico {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 9px;
    background: var(--rd-brand-light);
    color: var(--rd-brand);
}

.rd-updates-label strong {
    display: block;
    color: var(--rd-ink);
    font-size: 14px;
}

.rd-updates-label span {
    display: block;
    color: var(--rd-muted);
    font-size: 11.5px;
}

.rd-updates-list {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 8px 26px;
    overflow: hidden;
    flex-wrap: wrap;
}

.rd-update-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #475569 !important;
    font-size: 13px;
}

.rd-update-item:hover .rd-update-name {
    color: var(--rd-brand);
}

.rd-update-type {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 4px;
    background: #eef3fb;
    color: #64748b;
    font-size: 10.5px;
}

.rd-update-name {
    overflow: hidden;
    max-width: 180px;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .2s ease;
}

.rd-update-version {
    color: var(--rd-brand);
    font-size: 11.5px;
    font-weight: 600;
}

.rd-update-date {
    color: #9aa7ba;
    font-size: 11.5px;
}

.rd-updates-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    color: var(--rd-brand) !important;
    font-size: 12.5px;
    font-weight: 600;
}

/* ---------- 优势 ---------- */
.rd-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.rd-feature {
    padding: 28px 24px;
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.rd-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-sm);
}

.rd-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .14));
    color: var(--rd-brand);
}

.rd-feature-icon .rd-ico {
    width: 23px;
    height: 23px;
}

.rd-feature h3 {
    margin: 0 0 8px;
    color: var(--rd-ink);
    font-size: 16px;
}

.rd-feature p {
    margin: 0;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ---------- 帮助横幅 ---------- */
.rd-help-banner {
    background: linear-gradient(120deg, #1d4ed8, #2563eb 48%, #0891b2);
    color: #fff;
}

.rd-help-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.rd-help-banner-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.rd-help-banner h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.rd-help-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
}

.rd-help-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

/* ---------- 页脚 ---------- */
.rd-footer {
    background: #081127;
    color: rgba(226, 240, 255, .58);
    font-size: 13px;
}

.rd-footer .rd-container {
    padding-top: 56px;
}

.rd-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
    gap: 42px;
    padding-bottom: 42px;
}

.rd-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff !important;
    font-size: 17px;
    font-weight: 800;
}

.rd-footer-brand p {
    max-width: 380px;
    margin-bottom: 18px;
    line-height: 1.85;
}

.rd-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rd-footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rd-footer-contact .rd-ico {
    width: 15px;
    height: 15px;
    color: #5eead4;
}

.rd-footer-col h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.rd-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rd-footer-col li {
    margin-bottom: 9px;
}

.rd-footer-col a {
    color: rgba(226, 240, 255, .6) !important;
}

.rd-footer-col a:hover {
    color: #fff !important;
}

.rd-footer-contact-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
}

.rd-footer-contact-list li span {
    color: rgba(226, 240, 255, .42);
    font-size: 12px;
}

.rd-footer-contact-list li strong,
.rd-footer-contact-list li a {
    color: rgba(255, 255, 255, .82) !important;
    font-weight: 500;
    font-size: 12.5px;
}

.rd-friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.rd-friend-links-label {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .72);
    font-size: 11.5px;
}

.rd-friend-links a {
    color: rgba(226, 240, 255, .5) !important;
    font-size: 12.5px;
}

.rd-friend-links a:hover {
    color: #fff !important;
}

.rd-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
}

.rd-footer-bottom p {
    margin: 0;
}

.rd-footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rd-back-top {
    position: fixed;
    right: 26px;
    bottom: 30px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 12px;
    background: #fff;
    color: var(--rd-brand);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .14);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
}

.rd-back-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rd-back-top:hover {
    background: var(--rd-brand);
    color: #fff;
}

/* ---------- 列表页头 ---------- */
.rd-page-hero {
    position: relative;
    padding: 26px 0 38px;
    background: radial-gradient(900px 320px at 88% 0%, rgba(37, 99, 235, .16), transparent 68%),
                linear-gradient(180deg, #f2f6fd, #f7f9fd);
    border-bottom: 1px solid var(--rd-line);
}

.rd-page-hero-sm {
    padding-bottom: 34px;
}

.rd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: #90a0b5;
    font-size: 12.5px;
}

.rd-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b !important;
}

.rd-breadcrumb a:hover {
    color: var(--rd-brand) !important;
}

.rd-breadcrumb em {
    font-style: normal;
    color: var(--rd-ink);
    font-weight: 500;
}

.rd-breadcrumb-light {
    color: rgba(226, 240, 255, .5);
}

.rd-breadcrumb-light a {
    color: rgba(226, 240, 255, .68) !important;
}

.rd-breadcrumb-light a:hover {
    color: #fff !important;
}

.rd-breadcrumb-light em {
    color: #fff;
}

.rd-page-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.rd-page-hero-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--rd-brand);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.rd-page-hero-copy h1 {
    margin: 0 0 8px;
    color: var(--rd-ink);
    font-size: 34px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.6px;
}

.rd-page-hero-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--rd-muted);
    font-size: 14px;
}

.rd-page-hero-stats {
    display: flex;
    gap: 34px;
    flex: 0 0 auto;
    padding: 18px 28px;
    border: 1px solid var(--rd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--rd-shadow-sm);
}

.rd-page-hero-stats div {
    text-align: center;
}

.rd-page-hero-stats strong {
    display: block;
    color: var(--rd-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.rd-page-hero-stats strong em {
    font-style: normal;
    color: var(--rd-brand);
    font-size: 14px;
    margin-left: 2px;
}

.rd-page-hero-stats span {
    display: block;
    margin-top: 3px;
    color: var(--rd-muted);
    font-size: 11.5px;
}

.rd-page-hero-date {
    flex: 0 0 auto;
    color: var(--rd-muted);
    font-size: 12.5px;
}

/* ---------- 列表布局 / 侧栏 ---------- */
.rd-list-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 70px;
}

.rd-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rd-side-card {
    padding: 18px;
    border: 1px solid var(--rd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.rd-side-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rd-line);
    color: var(--rd-ink);
    font-size: 14px;
    font-weight: 700;
}

.rd-side-title .rd-ico-xs {
    color: var(--rd-brand);
}

.rd-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rd-side-group + .rd-side-group {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--rd-line);
}

.rd-side-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #334155 !important;
    font-size: 13.5px;
    font-weight: 600;
}

.rd-side-parent > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rd-side-parent .rd-ico-xs {
    color: #94a3b8;
}

.rd-side-parent:hover {
    background: #f5f8ff;
    color: var(--rd-brand) !important;
}

.rd-side-parent.is-active {
    background: var(--rd-brand-light);
    color: var(--rd-brand) !important;
}

.rd-side-parent.is-active .rd-ico-xs {
    color: var(--rd-brand);
}

.rd-side-children {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 2px 12px;
    padding-left: 10px;
    border-left: 1px solid var(--rd-line);
}

.rd-side-children a {
    padding: 7px 9px;
    border-radius: 7px;
    color: #64748b !important;
    font-size: 13px;
}

.rd-side-children a:hover {
    background: #f5f8ff;
    color: var(--rd-brand) !important;
}

.rd-side-children a.is-active {
    background: #f0f5ff;
    color: var(--rd-brand) !important;
    font-weight: 600;
}

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

.rd-side-tips li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--rd-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.rd-side-tips li .rd-ico-xs {
    margin-top: 4px;
    color: #10b981;
    flex: 0 0 auto;
}

.rd-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    margin-top: 4px;
    border-radius: 8px;
    background: #f7f9fd;
    color: #475569 !important;
    font-size: 12.5px;
    font-weight: 600;
}

.rd-side-link:hover {
    background: var(--rd-brand-light);
    color: var(--rd-brand) !important;
}

.rd-side-note {
    margin: 0 0 10px;
    color: var(--rd-muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.rd-side-card-tips {
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.rd-list-main {
    min-width: 0;
}

.rd-list-main-full {
    width: 100%;
}

.rd-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 13px 16px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fff;
}

.rd-list-count {
    color: var(--rd-muted);
    font-size: 13px;
}

.rd-list-count strong {
    color: var(--rd-ink);
    font-size: 15px;
}

.rd-list-count span {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--rd-line);
    color: #9aa7ba;
    font-size: 12px;
}

.rd-sort-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 9px;
    background: #f2f5fa;
}

.rd-sort-tab {
    padding: 6px 14px;
    border-radius: 7px;
    color: #64748b !important;
    font-size: 12.5px;
    font-weight: 500;
}

.rd-sort-tab:hover {
    color: var(--rd-brand) !important;
}

.rd-sort-tab.is-active {
    background: #fff;
    color: var(--rd-brand) !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
}

/* ---------- 分页 ---------- */
.rd-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.rd-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--rd-line);
    border-radius: 9px;
    background: #fff;
    color: #475569 !important;
    font-size: 13px;
    font-weight: 500;
}

.rd-page-link:hover {
    border-color: rgba(37, 99, 235, .36);
    color: var(--rd-brand) !important;
}

.rd-page-link.is-active {
    border-color: var(--rd-brand);
    background: var(--rd-brand);
    color: #fff !important;
}

.rd-page-link.is-disabled {
    color: #b8c2d0 !important;
    cursor: not-allowed;
    background: #f7f9fc;
}

.rd-page-ellipsis {
    color: #9aa7ba;
    padding: 0 2px;
}

.rd-pagination-wrap {
    margin-top: 30px;
}

/* ---------- 文章兜底 ---------- */
.rd-article-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rd-article-item {
    padding: 20px 22px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fff;
}

.rd-article-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.rd-article-item h3 a {
    color: var(--rd-ink) !important;
}

.rd-article-item h3 a:hover {
    color: var(--rd-brand) !important;
}

.rd-article-item p {
    margin: 0 0 8px;
    color: var(--rd-muted);
    font-size: 13px;
}

.rd-article-date {
    color: #9aa7ba;
    font-size: 12px;
}

.rd-article-nav {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.rd-article-nav-item {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fff;
}

.rd-article-nav-item span {
    display: block;
    margin-bottom: 4px;
    color: #9aa7ba;
    font-size: 11.5px;
}

.rd-article-nav-item strong {
    color: var(--rd-ink);
    font-size: 13.5px;
    font-weight: 600;
}

.rd-article-nav-next {
    text-align: right;
}

/* ---------- 资源详情 ---------- */
.rd-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 0 46px;
    background: radial-gradient(900px 420px at 84% 6%, rgba(37, 99, 235, .36), transparent 62%),
                linear-gradient(135deg, #081127, #0c1a3b 58%, #102752);
    color: #fff;
}

.rd-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
    pointer-events: none;
}

.rd-detail-hero .rd-container {
    position: relative;
    z-index: 1;
}

.rd-detail-hero-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.rd-detail-cover {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: #0d1b3b;
    box-shadow: 0 26px 60px rgba(2, 8, 23, .42);
}

.rd-detail-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rd-detail-cover-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(37, 99, 235, .9);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}

.rd-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.rd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
}

.rd-badge-brand {
    background: rgba(37, 99, 235, .92);
    color: #fff;
}

.rd-badge-ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #dbeafe !important;
}

.rd-badge-ghost:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff !important;
}

.rd-badge-warn {
    background: rgba(249, 115, 22, .16);
    border: 1px solid rgba(249, 115, 22, .38);
    color: #fdba74;
}

.rd-detail-head h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 35px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -.6px;
}

.rd-detail-head h1 small {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(94, 234, 212, .13);
    color: #5eead4;
    font-size: 13px;
    font-weight: 700;
    vertical-align: middle;
}

.rd-detail-lead {
    max-width: 720px;
    margin-bottom: 20px;
    color: rgba(226, 240, 255, .72);
    font-size: 14px;
    line-height: 1.8;
}

.rd-detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 700px;
    margin-bottom: 22px;
}

.rd-detail-meta div {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
}

.rd-detail-meta span {
    display: block;
    color: rgba(226, 240, 255, .5);
    font-size: 11px;
}

.rd-detail-meta strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
}

.rd-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rd-detail-demo-note {
    max-width: 680px;
    margin: 14px 0 0;
    padding: 9px 12px;
    border: 1px solid rgba(249, 115, 22, .26);
    border-radius: 8px;
    background: rgba(249, 115, 22, .1);
    color: rgba(254, 215, 170, .86);
    font-size: 12px;
    line-height: 1.7;
}

.rd-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 20px;
}

.rd-panel {
    padding: 26px;
    margin-bottom: 22px;
    border: 1px solid var(--rd-line);
    border-radius: var(--rd-radius);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.rd-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--rd-line);
    color: var(--rd-ink);
    font-size: 18px;
    font-weight: 700;
}

.rd-panel-title .rd-ico-xs {
    color: var(--rd-brand);
}

.rd-prose {
    color: #475569;
    font-size: 14px;
    line-height: 1.95;
}

.rd-prose p {
    margin-bottom: 14px;
}

.rd-prose p:last-child {
    margin-bottom: 0;
}

.rd-prose h2,
.rd-prose h3 {
    margin: 24px 0 12px;
    color: var(--rd-ink);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.rd-prose h3 {
    font-size: 16px;
}

.rd-prose ul,
.rd-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.rd-prose li {
    margin-bottom: 7px;
}

.rd-prose blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--rd-brand);
    border-radius: 0 8px 8px 0;
    background: #f5f8ff;
    color: #475569;
}

.rd-prose img {
    border-radius: 10px;
    margin: 8px 0;
}

.rd-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
}

.rd-prose th,
.rd-prose td {
    padding: 9px 12px;
    border: 1px solid var(--rd-line);
    text-align: left;
}

.rd-prose th {
    background: #f6f8fc;
    color: var(--rd-ink);
    font-weight: 600;
}

.rd-prose a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rd-prose-page {
    min-height: 200px;
    font-size: 14.5px;
}

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

.rd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fbfcfe;
}

.rd-feature-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--rd-brand-light);
    color: var(--rd-brand);
}

.rd-feature-item h3 {
    margin: 0 0 5px;
    color: var(--rd-ink);
    font-size: 14.5px;
}

.rd-feature-item p {
    margin: 0;
    color: var(--rd-muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.rd-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rd-fact-item {
    padding: 16px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fbfcfe;
}

.rd-fact-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--rd-muted);
    font-size: 12.5px;
}

.rd-fact-item strong {
    color: var(--rd-ink);
    font-size: 14.5px;
    font-weight: 700;
}

.rd-empty-text {
    margin: 12px 0 0;
    color: var(--rd-muted);
    font-size: 12.5px;
    line-height: 1.8;
}

.rd-shot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rd-shot {
    display: block;
    overflow: hidden;
    border: 1px solid var(--rd-line);
    border-radius: 10px;
    background: #f3f6fb;
}

.rd-shot img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .35s ease;
}

.rd-shot:hover img {
    transform: scale(1.04);
}

.rd-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rd-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rd-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rd-brand), var(--rd-cyan));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.rd-steps strong {
    display: block;
    color: var(--rd-ink);
    font-size: 14px;
}

.rd-steps p {
    margin: 3px 0 0;
    color: var(--rd-muted);
    font-size: 13px;
}

.rd-detail-aside {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rd-download-card {
    padding: 22px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: var(--rd-radius);
    background: linear-gradient(180deg, #f8fbff, #fff 45%);
    box-shadow: var(--rd-shadow-sm);
}

.rd-download-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.rd-download-card-type {
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--rd-brand-light);
    color: var(--rd-brand);
    font-size: 11.5px;
    font-weight: 700;
}

.rd-download-card-head strong {
    color: var(--rd-ink);
    font-size: 17px;
    font-weight: 800;
}

.rd-download-facts {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.rd-download-facts li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--rd-line);
    font-size: 12.5px;
}

.rd-download-facts li:last-child {
    border-bottom: 0;
}

.rd-download-facts span {
    color: var(--rd-muted);
}

.rd-download-facts strong {
    color: var(--rd-ink);
    font-weight: 600;
    text-align: right;
}

.rd-download-safe {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--rd-line);
    color: #18a56d;
    font-size: 12px;
    text-align: center;
}

.rd-download-safe .rd-ico-xs {
    margin-right: 3px;
}

.rd-side-resource-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-side-resource {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rd-side-resource img {
    width: 86px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 7px;
    object-fit: cover;
    background: #eef3fa;
}

.rd-side-resource span {
    min-width: 0;
}

.rd-side-resource strong {
    display: block;
    overflow: hidden;
    color: var(--rd-ink);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rd-side-resource:hover strong {
    color: var(--rd-brand);
}

.rd-side-resource em {
    display: block;
    margin-top: 2px;
    color: #9aa7ba;
    font-size: 11px;
    font-style: normal;
}

/* ---------- 单页 / 搜索 / 404 ---------- */
.rd-page-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 64px;
}

.rd-page-content {
    min-width: 0;
}

.rd-search-hero {
    position: relative;
    padding: 26px 0 44px;
    background: radial-gradient(900px 380px at 82% 0%, rgba(37, 99, 235, .4), transparent 66%),
                linear-gradient(135deg, #081127, #0c1c40 60%, #102a58);
    color: #fff;
}

.rd-search-hero h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.rd-search-hero-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 760px;
    height: 60px;
    padding: 6px 6px 6px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.rd-search-hero-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}

.rd-search-hero-form input::placeholder {
    color: rgba(226, 240, 255, .5);
}

.rd-search-hero-form button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--rd-brand), var(--rd-cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.rd-search-hotwords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 14px;
    color: rgba(226, 240, 255, .5);
    font-size: 12.5px;
}

.rd-search-hotwords a {
    color: rgba(226, 240, 255, .76) !important;
}

.rd-search-hotwords a:hover {
    color: #fff !important;
}

.rd-search-body {
    padding-top: 32px;
    padding-bottom: 70px;
}

.rd-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 14px 18px;
    border: 1px solid var(--rd-line);
    border-radius: 12px;
    background: #fff;
    color: var(--rd-muted);
    font-size: 13.5px;
}

.rd-search-summary strong {
    color: var(--rd-brand);
    font-size: 17px;
}

.rd-search-summary em {
    color: var(--rd-ink);
    font-style: normal;
    font-weight: 600;
}

.rd-search-empty {
    max-width: 760px;
    margin: 20px auto;
    padding: 54px 30px;
    border: 1px dashed var(--rd-line);
    border-radius: var(--rd-radius);
    background: #fff;
    text-align: center;
}

.rd-search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--rd-brand-light);
    color: var(--rd-brand);
}

.rd-search-empty-icon .rd-ico {
    width: 34px;
    height: 34px;
}

.rd-search-empty h2 {
    margin: 0 0 8px;
    color: var(--rd-ink);
    font-size: 21px;
}

.rd-search-empty p {
    margin: 0 0 20px;
    color: var(--rd-muted);
    font-size: 13.5px;
}

.rd-search-suggest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.rd-search-suggest a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1px solid var(--rd-line);
    border-radius: 999px;
    background: #fafbfd;
    color: #475569 !important;
    font-size: 12.5px;
}

.rd-search-suggest a:hover {
    border-color: rgba(37, 99, 235, .34);
    background: var(--rd-brand-light);
    color: var(--rd-brand) !important;
}

.rd-404 {
    padding: 76px 0 70px;
    text-align: center;
}

.rd-404-code {
    color: transparent;
    font-size: 132px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -6px;
    background: linear-gradient(135deg, var(--rd-brand), var(--rd-cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.rd-404 h1 {
    margin: 12px 0 10px;
    color: var(--rd-ink);
    font-size: 30px;
    font-weight: 800;
}

.rd-404 p {
    max-width: 620px;
    margin: 0 auto 26px;
    color: var(--rd-muted);
    font-size: 14px;
}

.rd-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rd-404-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed var(--rd-line);
    color: var(--rd-muted);
    font-size: 12.5px;
}

/* ---------- 滚动进场 ---------- */
.rd-js .rd-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.rd-js .rd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
    .rd-header-inner {
        gap: 16px;
    }

    .rd-search {
        width: 220px;
    }

    .rd-nav-link {
        padding: 0 10px;
        font-size: 14px;
    }

    .rd-nav-link.is-active::after {
        left: 10px;
        right: 10px;
    }

    .rd-hero h1 {
        font-size: 46px;
    }

    .rd-float-card {
        width: 286px;
    }

    .rd-detail-hero-grid {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .rd-nav {
        display: none;
    }

    .rd-search {
        margin-left: auto;
    }

    .rd-menu-toggle {
        display: inline-flex;
    }

    .rd-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .rd-hero h1 {
        font-size: 44px;
    }

    .rd-hero-visual {
        min-height: 400px;
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
    }

    .rd-float-card {
        width: 300px;
    }

    .rd-float-card-1 {
        left: 50%;
    }

    .rd-float-card-2 {
        left: 2%;
    }

    .rd-float-card-3 {
        right: 2%;
    }

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

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

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

    .rd-list-layout,
    .rd-page-layout {
        grid-template-columns: 1fr;
    }

    .rd-sidebar,
    .rd-detail-aside {
        position: static;
    }

    .rd-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rd-detail-cover {
        max-width: 560px;
    }

    .rd-detail-layout {
        grid-template-columns: 1fr;
    }

    .rd-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 30px;
    }

    .rd-footer-brand {
        grid-column: 1 / -1;
    }

    .rd-updates-inner {
        flex-wrap: wrap;
    }

    .rd-updates-list {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        border-top: 1px dashed var(--rd-line);
        padding-top: 14px;
    }

    .rd-updates-label {
        border-right: 0;
        padding-right: 0;
    }

    .rd-updates-all {
        margin-left: auto;
    }

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

@media (max-width: 768px) {
    .rd-topbar-left span {
        display: none;
    }

    .rd-header-inner {
        height: 68px;
    }

    .rd-search {
        display: none;
    }

    .rd-logo-text em {
        display: none;
    }

    .rd-hero h1 {
        font-size: 36px;
    }

    .rd-hero-lead {
        font-size: 14.5px;
    }

    .rd-hero-stats {
        gap: 16px 0;
    }

    .rd-hero-stat {
        min-width: 46%;
        padding-right: 16px;
        margin-right: 16px;
    }

    .rd-hero-stat:nth-child(2) {
        border-right: 0;
        margin-right: 0;
        padding-right: 0;
    }

    .rd-hero-visual {
        min-height: 380px;
    }

    .rd-float-card {
        width: 260px;
    }

    .rd-hero-badge-1 {
        left: 0;
        bottom: 10px;
    }

    .rd-hero-badge-2 {
        right: 0;
        top: 24px;
    }

    .rd-section {
        padding: 52px 0;
    }

    .rd-section-title h2 {
        font-size: 25px;
    }

    .rd-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .rd-grid-3,
    .rd-grid-4 {
        grid-template-columns: 1fr;
    }

    .rd-page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .rd-page-hero-stats {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
        padding: 14px 16px;
    }

    .rd-page-hero-copy h1 {
        font-size: 28px;
    }

    .rd-sidebar {
        grid-template-columns: 1fr;
    }

    .rd-list-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .rd-sort-tabs {
        width: 100%;
    }

    .rd-sort-tab {
        flex: 1;
        text-align: center;
    }

    .rd-feature-grid {
        grid-template-columns: 1fr;
    }

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

    .rd-shot-grid {
        grid-template-columns: 1fr;
    }

    .rd-detail-head h1 {
        font-size: 27px;
    }

    .rd-detail-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-help-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .rd-help-banner h2 {
        font-size: 21px;
    }

    .rd-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .rd-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rd-search-hero h1 {
        font-size: 25px;
    }

    .rd-search-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .rd-article-nav {
        flex-direction: column;
    }

    .rd-article-nav-next {
        text-align: left;
    }

    .rd-404-code {
        font-size: 96px;
    }
}

@media (max-width: 520px) {
    .rd-container {
        padding: 0 16px;
    }

    .rd-topbar-right .rd-sep,
    .rd-topbar-right a:last-child {
        display: none;
    }

    .rd-hero h1 {
        font-size: 30px;
    }

    .rd-hero-actions .rd-btn {
        flex: 1;
    }

    .rd-hero-search form {
        height: 52px;
    }

    .rd-hero-search button {
        height: 40px;
        padding: 0 14px;
    }

    .rd-hero-visual {
        min-height: 330px;
    }

    .rd-float-card {
        width: 232px;
    }

    .rd-float-card-2 {
        top: 158px;
    }

    .rd-float-card-3 {
        top: 214px;
    }

    .rd-float-info strong {
        font-size: 13px;
    }

    .rd-hero-badge {
        display: none;
    }

    .rd-features {
        grid-template-columns: 1fr;
    }

    .rd-footer-grid {
        grid-template-columns: 1fr;
    }

    .rd-update-name {
        max-width: 140px;
    }

    .rd-detail-meta {
        gap: 8px;
    }

    .rd-panel {
        padding: 20px;
    }

    .rd-detail-head h1 {
        font-size: 24px;
    }

    .rd-detail-cover {
        border-radius: 12px;
    }

    .rd-search-hero-form {
        height: 54px;
        padding-left: 14px;
    }

    .rd-search-hero-form button {
        height: 42px;
        padding: 0 14px;
    }

    .rd-search-hero-form button .rd-ico {
        display: none;
    }
}
