.dux-dc-mobile-toolbar {
    display: none;
}

.dux-dc-mobile-sticky-download {
    display: none;
}

.dux-dc-container {
    --dc-primary: #46C37B;
    --dc-primary-dark: #3aab6a;
    --dc-primary-darker: #329a5c;
    --dc-primary-light: #ecfdf3;
    --dc-primary-lighter: #e8f9ef;
    --dc-primary-border: #b8e6cc;
    --dc-primary-paid: #2f9158;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.dux-dc-header-top {
    background: linear-gradient(135deg, #46C37B 0%, #329a5c 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 8px 8px 0 0;
}

.dux-dc-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dux-dc-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 14px;
}

.dux-dc-user-info a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.dux-dc-user-info a:hover {
    opacity: 0.8;
}

.dux-dc-user-name {
    font-weight: 500;
}

.dux-dc-user-center-link {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.dux-dc-points {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
}

.dux-dc-points a {
    color: #ecfdf3;
    font-weight: 600;
}

.dux-dc-logout {
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.dux-dc-login,
.dux-dc-register {
    padding: 5px 12px;
}

.dux-dc-register {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.dux-dc-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dux-dc-title .title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #fff;
    flex-shrink: 0;
}

.dux-dc-title .title-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.dux-dc-title .title-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.dux-dc-header {
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dux-dc-search-bar {
    width: 320px;
}

.dux-dc-search-form {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dux-dc-search-form input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.dux-dc-search-form input[type="text"]::placeholder {
    color: #999;
}

.dux-dc-search-form button {
    padding: 10px 15px;
    background: #fff;
    color: #666;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dux-dc-search-form button:hover {
    color: #46C37B;
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #999;
    transition: color 0.2s;
}

.dux-dc-search-form button:hover .search-icon {
    color: #46C37B;
}

.search-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.dux-dc-filters {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.dux-dc-filter-group {
    margin-bottom: 15px;
}

@media (min-width: 769px) {
    .dux-dc-filter-group {
        display: flex;
        align-items: flex-start;
        gap: 8px 12px;
    }

    .dux-dc-filter-group .filter-label {
        flex-shrink: 0;
        margin-bottom: 0;
        line-height: 32px;
        white-space: nowrap;
    }

    .dux-dc-filter-group .dux-dc-filter-list {
        flex: 1;
        min-width: 0;
    }
}

.dux-dc-filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.dux-dc-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dux-dc-filter-list li {
    margin: 0;
}

.dux-dc-filter-list li a {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.2s;
    border: 1px solid #ddd;
}

.dux-dc-filter-list li a:hover {
    background: #ecfdf3;
    border-color: #46C37B;
    color: #46C37B;
}

.dux-dc-filter-list li.active a {
    background: #46C37B;
    color: #fff;
    border-color: #46C37B;
}

.dux-dc-filter-tags {
    margin-top: 15px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.dux-dc-filter-tags span {
    font-size: 14px;
}

.filter-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #46C37B;
    color: #fff;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 13px;
}

.filter-tag a {
    color: #fff;
    margin-left: 5px;
    text-decoration: none;
}

.dux-dc-main {
    display: flex;
    gap: 20px;
}

.dux-dc-content {
    flex: 1;
}

.dux-dc-detail-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.dux-dc-sidebar-right {
    width: 280px;
    flex-shrink: 0;
}

.dux-dc-list-page .dux-dc-sidebar-right {
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.dux-dc-sidebar {
    margin-top: 0;
}

.dux-dc-detail-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.dux-dc-page-detail .dux-dc-detail-sidebar {
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.dux-dc-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.dux-dc-widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dux-dc-sort-bar {
    margin-bottom: 0;
    padding: 19px 26px 22px;
    background: #f9f9f9;
    border-radius: var(--dc-card-radius, 8px) var(--dc-card-radius, 8px) 0 0;
    display: flex;
    align-items: flex-end;
    gap: 0;
    border-bottom: none;
}

.dux-dc-sort-bar a {
    position: relative;
    display: inline-block;
    margin-right: 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.2s;
}

.dux-dc-sort-bar span.active {
    position: relative;
    display: inline-block;
    margin-right: 25px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: default;
}

.dux-dc-sort-bar a:last-child,
.dux-dc-sort-bar span.active:last-child {
    margin-right: 0;
}

.dux-dc-sort-bar a:hover {
    color: #333;
}

.dux-dc-sort-bar span.active::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 24px;
    height: 10px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M2 2 Q12 10 22 2' stroke='%2346C37B' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    pointer-events: none;
}

.dux-dc-list-panel {
    background: #fff;
    border-radius: var(--dc-card-radius, 8px);
    overflow: hidden;
    margin-bottom: 15px;
    scroll-margin-top: 20px;
}

.dux-dc-list-panel .dux-dc-materials-list {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

.dux-dc-materials-list {
    background: #fff;
    border-radius: var(--dc-card-radius, 8px);
    overflow: hidden;
}

.dux-dc-list-page .badge-type {
    background-color: var(--dc-tag-color, #46C37B);
}

.dux-dc-list-page .price-free {
    color: var(--dc-free-color, #46C37B);
}

.dux-dc-list-page .dux-dc-cash-price {
    color: var(--dc-paid-color, #fb6345);
}

.dux-dc-list-page .dux-dc-coin-price {
    background: var(--dc-paid-color, linear-gradient(180deg, #ff9a4a 0%, #ff6b00 100%));
}

.dux-dc-list-page .dux-dc-coin-icon {
    color: var(--dc-paid-color, #ff6b00);
}

/* 付费价格面板：对标正保 ￥3 / 积分胶囊 */
.dux-dc-file-panel {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.dux-dc-file-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    white-space: nowrap;
}

.dux-dc-cash-price {
    color: #fb6345;
}

.dux-dc-price-sep {
    color: #adadad;
    font-weight: 400;
}

.dux-dc-coin-price {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px 0 4px;
    background: linear-gradient(180deg, #ff9a4a 0%, #ff6b00 100%);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(255, 107, 0, 0.25);
}

.dux-dc-coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    background: #fff;
    color: #ff6b00;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.dux-dc-coin-value {
    font-size: 14px;
    font-weight: 600;
}

.dux-dc-list-panel.has-shadow,
.dux-dc-materials-list.has-shadow {
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.dux-dc-list-panel.columns-2 .dux-dc-materials-list,
.dux-dc-list-panel.columns-3 .dux-dc-materials-list,
.dux-dc-materials-list.columns-2,
.dux-dc-materials-list.columns-3 {
    display: grid;
    gap: 0;
}

.dux-dc-list-panel.columns-2 .dux-dc-materials-list,
.dux-dc-materials-list.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dux-dc-list-panel.columns-3 .dux-dc-materials-list,
.dux-dc-materials-list.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dux-dc-list-panel.layout-compact .dux-dc-material-card,
.dux-dc-materials-list.layout-compact .dux-dc-material-card {
    padding: 18px 20px 22px;
}

.dux-dc-list-panel.layout-compact .dux-dc-card-title,
.dux-dc-materials-list.layout-compact .dux-dc-card-title {
    font-size: 18px;
}

.dux-dc-list-panel.layout-detailed .dux-dc-material-card,
.dux-dc-materials-list.layout-detailed .dux-dc-material-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 30px 28px;
}

.dux-dc-list-panel.layout-detailed .dux-dc-card-right,
.dux-dc-materials-list.layout-detailed .dux-dc-card-right {
    margin-top: 12px;
}

.dux-dc-list-panel.layout-detailed .dux-dc-card-actions,
.dux-dc-materials-list.layout-detailed .dux-dc-card-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.dux-dc-list-panel.btn-style-rounded .dux-dc-download-btn,
.dux-dc-materials-list.btn-style-rounded .dux-dc-download-btn {
    border-radius: 20px;
}

.dux-dc-list-panel.btn-style-flat .dux-dc-download-btn,
.dux-dc-materials-list.btn-style-flat .dux-dc-download-btn {
    background: #46C37B;
    color: #fff;
    border-color: #46C37B;
}

.dux-dc-list-panel.btn-style-flat .dux-dc-download-btn:hover,
.dux-dc-materials-list.btn-style-flat .dux-dc-download-btn:hover {
    background: #3aab6a;
    border-color: #3aab6a;
    color: #fff;
}

@media (max-width: 768px) {
    .dux-dc-list-panel.columns-2 .dux-dc-materials-list,
    .dux-dc-list-panel.columns-3 .dux-dc-materials-list,
    .dux-dc-materials-list.columns-2,
    .dux-dc-materials-list.columns-3 {
        grid-template-columns: 1fr;
    }
}

.dux-dc-material-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 88px;
    padding: 22px 30px 26px;
    border-bottom: 1px solid #f6f6f6;
    transition: background 0.2s;
    box-sizing: border-box;
}

.dux-dc-material-card:last-child {
    border-bottom: none;
}

.dux-dc-material-card:hover {
    background: #f8fafc;
}

.dux-dc-card-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dux-dc-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin: 0;
    color: #333;
}

.dux-dc-card-title a {
    color: #333;
    text-decoration: none;
}

.dux-dc-card-title a:hover {
    color: #46C37B;
}

.dux-dc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    height: 22px;
    box-sizing: border-box;
}

.dux-dc-card-meta {
    display: flex;
    align-items: center;
    gap: 0;
}

.dux-dc-card-meta .badge {
    margin-right: 15px;
}

.dux-dc-card-meta .badge + .info-item::before {
    content: '|';
    margin-right: 15px;
    color: #ddd;
}

.info-item {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-item:not(:last-child)::after {
    content: '|';
    margin-left: 15px;
    margin-right: 15px;
    color: #ddd;
}

.file-preview {
    position: relative;
    padding-left: 20px;
}

.file-preview::before {
    width: 16px;
    height: 16px;
    content: '';
    background: url('../img/icon_preview.png') 50% center / 100% no-repeat;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.file-download {
    position: relative;
    padding-left: 20px;
}

.file-download::before {
    width: 16px;
    height: 16px;
    content: '';
    background: url('../img/icon_download.png') 50% center / 100% no-repeat;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.file-icon {
    display: inline-block;
    width: 18px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.file-icon.icon-pdf {
    background: url('../img/icon_pdf.png') 50% center / 100% no-repeat;
}

.file-icon.icon-word {
    background: url('../img/icon_word.png') 50% center / 100% no-repeat;
}

.file-icon.icon-zip {
    background: url('../img/icon_zip.png') 50% center / 100% no-repeat;
}

.info-icon {
    font-size: 12px;
    color: #ccc;
}

.dux-dc-card-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dux-dc-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-free {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #e8f9ef;
    color: #46C37B;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.price-paid {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fb6345;
}

.price-symbol {
    font-size: 16px;
}

.price-divider {
    font-size: 12px;
    color: #999;
    margin: 0 2px;
}

.price-points {
    font-size: 13px;
    color: #999;
}

.dux-dc-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    background: transparent;
    color: #46C37B;
    text-decoration: none;
    border: 1px solid #46C37B;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    height: 28px;
    box-sizing: border-box;
}

.dux-dc-download-btn:hover {
    background: #46C37B;
    color: #fff;
}

.dux-dc-list-action-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.dux-dc-download-btn.primary {
    padding: 15px 40px;
    font-size: 16px;
}

.dux-dc-pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dux-dc-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    min-width: 44px;
    height: 36px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.dux-dc-page-btn:hover:not(.disabled) {
    border-color: #46C37B;
    color: #46C37B;
}

.dux-dc-page-btn.active {
    background: #46C37B;
    color: #fff;
    border-color: #46C37B;
}

.dux-dc-page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #e8e8e8;
}

.dux-dc-ranking {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dux-dc-ranking li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.dux-dc-ranking li:last-child {
    border-bottom: none;
}

.dux-dc-ranking .rank {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.dux-dc-ranking .rank-1 {
    background: linear-gradient(-88deg, #fc7540 0%, #ef9520 81%);
    color: #fff;
}

.dux-dc-ranking .rank-2 {
    background: linear-gradient(-88deg, #f7a86e 0%, #ffb351 81%);
    color: #fff;
}

.dux-dc-ranking .rank-3 {
    background: linear-gradient(-88deg, #fbc98a 0%, #ffd48a 81%);
    color: #fff;
}

.dux-dc-ranking .rank-4,
.dux-dc-ranking .rank-5,
.dux-dc-ranking .rank-6,
.dux-dc-ranking .rank-7,
.dux-dc-ranking .rank-8,
.dux-dc-ranking .rank-9,
.dux-dc-ranking .rank-10,
.dux-dc-ranking .rank-11,
.dux-dc-ranking .rank-12,
.dux-dc-ranking .rank-13,
.dux-dc-ranking .rank-14,
.dux-dc-ranking .rank-15,
.dux-dc-ranking .rank-16,
.dux-dc-ranking .rank-17,
.dux-dc-ranking .rank-18,
.dux-dc-ranking .rank-19,
.dux-dc-ranking .rank-20 {
    background: #f3f4f6;
    color: #9ca3af;
}

.dux-dc-ranking .ranking-info {
    flex: 1;
    min-width: 0;
}

.dux-dc-ranking .ranking-title {
    display: -webkit-box;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.dux-dc-ranking .ranking-title:hover {
    color: #46C37B;
}

.dux-dc-ranking .ranking-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.dux-dc-ranking .download-count {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #999;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dux-dc-ranking .download-count.file-download {
    padding-left: 20px;
}

.dux-dc-ranking .ranking-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.dux-dc-ranking .price {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.dux-dc-ranking .price.free {
    color: #46C37B;
}

.dux-dc-ranking .price.points {
    color: #ff6b00;
}

.dux-dc-ranking .price.paid {
    color: #fb6345;
}

.dux-dc-ranking .ranking-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background: transparent;
    color: #46C37B;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #46C37B;
    border-radius: 4px;
    transition: all 0.2s;
    height: 28px;
    box-sizing: border-box;
    flex-shrink: 0;
    white-space: nowrap;
}

.dux-dc-ranking .ranking-download-btn:hover {
    background: #46C37B;
    color: #fff;
}

.dux-dc-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.dux-dc-ranking-item {
    padding: 15px;
    background: #f8fafc;
    border-radius: 6px;
    transition: all 0.2s;
}

.dux-dc-ranking-item:hover {
    background: #ecfdf3;
    transform: translateY(-2px);
}

.ranking-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ranking-item-header .rank {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f0f0f0;
    color: #999;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.dux-dc-ranking-item:nth-child(1) .rank {
    background: linear-gradient(-88deg, #fc7540 0%, #ef9520 81%);
    color: #fff;
}

.dux-dc-ranking-item:nth-child(2) .rank {
    background: linear-gradient(-88deg, #f7a86e 0%, #ffb351 81%);
    color: #fff;
}

.dux-dc-ranking-item:nth-child(3) .rank {
    background: linear-gradient(-88deg, #fbc98a 0%, #ffd48a 81%);
    color: #fff;
}

.ranking-item-header .file-icon {
    width: 18px;
    height: 22px;
    flex-shrink: 0;
}

.ranking-item-header a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.ranking-item-header a:hover {
    color: #46C37B;
}

.ranking-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.ranking-item-meta span {
    white-space: nowrap;
}

.dux-dc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.dux-dc-breadcrumb a {
    color: #46C37B;
    text-decoration: none;
}

.dux-dc-breadcrumb span {
    color: #666;
}

.dux-dc-material-detail {
    flex: 1;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.dux-dc-detail-information {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.dux-dc-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dux-dc-detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.dux-dc-detail-info-left {
    flex: 1;
    min-width: 0;
}

.dux-dc-detail-title-row {
    display: flex;
    align-items: center;
}

.dux-dc-detail-title-row .file-icon {
    flex-shrink: 0;
}

.dux-dc-detail-title {
    margin: 0 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}

.dux-dc-detail-tag {
    display: inline-block;
    padding: 5px;
    background: #f8f8f8;
    color: #666;
    font-size: 12px;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
}

.dux-dc-detail-tag:hover {
    color: #46C37B;
}

.dux-dc-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 16px 0 0;
    padding: 0 0 0 30px;
    background: transparent;
    border-radius: 0;
}

.dux-dc-detail-meta .dux-dc-detail-tag {
    margin-right: 20px;
}

.dux-dc-detail-meta .meta-item {
    font-size: 12px;
    color: #666;
}

.dux-dc-detail-meta .meta-item:not(:last-child)::after {
    content: '|';
    margin: 0 22px;
    color: #ccc;
}

.dux-dc-detail-download-btn {
    flex-shrink: 0;
    width: 140px;
    height: 50px;
    background: #46C37B;
    border-radius: 25px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.dux-dc-detail-download-btn:hover {
    background: #3aab6a;
    color: #fff;
}

.meta-item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    font-size: 14px;
    color: #999;
}

.dux-dc-detail-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.dux-dc-detail-description h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.dux-dc-detail-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 10px 0;
}

.dux-dc-detail-description p:last-child {
    margin-bottom: 0;
}

.dux-dc-preview-section {
    margin-bottom: 20px;
}

.dux-dc-preview-article {
    position: relative;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 25px 0 #d8d8d8;
    width: 100%;
}

.dux-dc-preview-tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 17px 0 9px;
    background: linear-gradient(-88.01deg, #fc7540, #fb763f 81%);
    border-radius: 6px 0 6px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    color: #fff;
}

.dux-dc-preview-tag-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.dux-dc-preview-area {
    padding: 0;
    background: #fff;
}

.dux-dc-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 40px;
    background: rgba(220, 245, 250, 0.7);
    box-sizing: border-box;
}

.dux-dc-preview-footer-page {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    line-height: 60px;
    flex-shrink: 0;
}

.dux-dc-preview-footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.dux-dc-preview-footer-price {
    display: flex;
    align-items: center;
}

.dux-dc-preview-footer .dux-dc-detail-download-btn {
    width: 140px;
    height: 50px;
    line-height: 50px;
    margin-top: 0;
    flex-shrink: 0;
}

.dux-dc-preview-image-container {
    position: relative;
    margin-bottom: 0;
    line-height: 0;
}

.dux-dc-preview-image-container img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.dux-dc-pdfjs-container canvas {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.dux-dc-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    gap: 20px;
}

.dux-dc-preview-overlay p {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.overlay-buttons {
    display: flex;
    gap: 15px;
}

.overlay-buttons .button {
    padding: 10px 25px;
    background: #46C37B;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.overlay-buttons .button:hover {
    background: #329a5c;
}

.dux-dc-preview-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 0;
}

.preview-prev,
.preview-next {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.preview-prev:hover,
.preview-next:hover {
    background: #46C37B;
    color: #fff;
    border-color: #46C37B;
}

.preview-nav-info {
    font-size: 14px;
    color: #666;
    min-width: 60px;
    text-align: center;
}

.dux-dc-preview-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 20px 20px;
}

.preview-thumb {
    width: 80px;
    height: 100px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.2s;
}

.preview-thumb:hover {
    border-color: #46C37B;
}

.preview-thumb.active {
    border-color: #46C37B;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-thumb .thumb-page {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 3px;
}

.dux-dc-no-preview {
    text-align: center;
    padding: 60px 0;
    color: #999;
}

.dux-dc-page-detail .dux-dc-copyright {
    margin-top: 20px;
}

.no-preview-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 15px;
}

.dux-dc-no-preview p {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.no-preview-hint {
    font-size: 14px !important;
    color: #bbb !important;
}

.dux-dc-detail-actions {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    background: #fff9e6;
    border-radius: 8px;
}

.dux-dc-related-materials {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.dux-dc-related-materials h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #46C37B;
    color: #333;
}

.dux-dc-related-materials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dux-dc-related-materials li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    gap: 15px;
    transition: background 0.2s;
}

.dux-dc-related-materials li:last-child {
    border-bottom: none;
}

.dux-dc-related-materials li:hover {
    background: #f8fafc;
    padding-left: 5px;
}

.dux-dc-related-materials li > a:first-child {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dux-dc-related-materials li > a:first-child:hover {
    color: #46C37B;
}

.related-meta {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.related-count {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.related-download {
    padding: 4px 12px;
    background: #46C37B;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s;
}

.related-download:hover {
    background: #329a5c;
}

.dux-dc-pay-page {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.dux-dc-pay-page h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-align: center;
}

.dux-dc-pay-info {
    margin-bottom: 30px;
}

.pay-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.pay-item:last-child {
    border-bottom: none;
}

.pay-item .label {
    font-size: 14px;
    color: #666;
}

.pay-item .value {
    font-size: 14px;
    font-weight: 500;
}

.buy-points-link {
    margin-left: 15px;
}

.buy-points-link a {
    color: #ef4444;
    text-decoration: none;
    font-size: 14px;
}

.buy-points-link a:hover {
    text-decoration: underline;
}

.dux-dc-pay-methods {
    margin-bottom: 30px;
}

.dux-dc-pay-methods h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.pay-method {
    margin-bottom: 15px;
}

.pay-method label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    gap: 15px;
    transition: all 0.2s;
}

.pay-method label:hover {
    border-color: #46C37B;
}

.pay-method input[type="radio"] {
    width: 20px;
    height: 20px;
}

.method-name {
    font-size: 16px;
    font-weight: 500;
}

.method-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    flex-shrink: 0;
}

.method-icon.points {
    background-color: #fff3e6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23ff6b00'/%3E%3Ctext x='12' y='16' text-anchor='middle' fill='%23fff' font-size='10' font-weight='700' font-family='Arial,sans-serif'%3E币%3C/text%3E%3C/svg%3E");
    background-size: 24px 24px;
}

.method-icon.alipay {
    background-color: #e8f3ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6' fill='%231677FF'/%3E%3Ctext x='12' y='16.5' text-anchor='middle' fill='%23fff' font-size='11' font-weight='700' font-family='Arial,sans-serif'%3E支%3C/text%3E%3C/svg%3E");
    background-size: 24px 24px;
}

.method-icon.wechat {
    background-color: transparent;
    background-image: url('../images/icon-wechat-pay.png');
    background-size: contain;
    background-position: center;
}

.method-desc {
    margin-left: auto;
    font-size: 13px;
    color: #888;
}

.pay-method input[type="radio"]:checked ~ .method-name {
    color: #46C37B;
}

.pay-method:has(input[type="radio"]:checked) label {
    border-color: #46C37B;
    background: #f6fffa;
}

.dux-dc-pay-btn {
    width: 100%;
    padding: 15px;
    background: #46C37B;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.dux-dc-pay-btn:hover {
    background: #3aab6a;
}

.dux-dc-points-rules {
    margin-top: 20px;
}

.rule-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rule-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.rule-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.rule-section ul {
    margin: 0;
    padding-left: 20px;
}

.rule-section li {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.rule-section li:last-child {
    margin-bottom: 0;
}

.rule-action {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.dux-dc-download-btn.secondary {
    background: #fff;
    color: #46C37B;
    border: 1px solid #46C37B;
}

.dux-dc-download-btn.secondary:hover {
    background: #ecfdf3;
}

#dux-dc-pay-result {
    margin-top: 20px;
}

.dux-dc-user-points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ecfdf3;
    border-radius: 8px;
    margin-bottom: 25px;
}

.dux-dc-user-points .points-label {
    font-size: 14px;
    color: #666;
}

.dux-dc-user-points .points-value {
    font-size: 24px;
    font-weight: 700;
    color: #46C37B;
}

.dux-dc-points-packages {
    margin-bottom: 25px;
}

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

.points-package {
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.points-package:hover {
    border-color: #46C37B;
    background: #ecfdf3;
}

.points-package.selected {
    border-color: #46C37B;
    background: #d1fae5;
}

.points-package .package-price {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
}

.points-package .package-points {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.dux-dc-custom-points {
    margin-bottom: 25px;
}

.dux-dc-custom-points h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.dux-dc-custom-points input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.dux-dc-custom-points input:focus {
    border-color: #46C37B;
}

.custom-price {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.custom-price #custom-price-value {
    font-weight: 600;
    color: #ef4444;
}

.dux-dc-header-top .user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.dux-dc-header-top .user-info a {
    color: #fff;
    text-decoration: none;
}

.dux-dc-header-top .points-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
}

.dux-dc-header-top .points-badge a {
    color: #ecfdf3;
}

.dux-dc-shortcode-list {
    display: grid;
    gap: 10px;
}

.dux-dc-shortcode-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    gap: 10px;
    flex-wrap: wrap;
}

.dux-dc-shortcode-item a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.shortcode-type {
    font-size: 13px;
    color: #666;
}

.shortcode-price {
    font-size: 13px;
    color: #46C37B;
    font-weight: 500;
}

.shortcode-count {
    font-size: 13px;
    color: #666;
}

.dux-dc-shortcode-ranking {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.dux-dc-shortcode-ranking h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.dux-dc-user-center {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.dux-dc-user-info-section {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #46C37B 0%, #329a5c 100%);
    gap: 20px;
}

.dux-dc-user-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.dux-dc-user-details {
    color: #fff;
}

.dux-dc-user-details h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.dux-dc-user-details p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 15px 0;
}

.dux-dc-user-points-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dux-dc-user-points-display .points-label {
    font-size: 14px;
}

.dux-dc-user-points-display .points-value {
    font-size: 24px;
    font-weight: 700;
    color: #46C37B;
}

.dux-dc-user-tabs {
    border-bottom: 1px solid #eee;
}

.dux-dc-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.dux-dc-tabs-list li {
    margin: 0;
}

.dux-dc-tabs-list li a {
    display: inline-block;
    padding: 15px 30px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.dux-dc-tabs-list li.active a {
    color: #46C37B;
    border-bottom-color: #46C37B;
}

.dux-dc-tabs-list li a:hover {
    color: #46C37B;
}

.dux-dc-user-content {
    padding: 20px;
}

.dux-dc-empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.dux-dc-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dux-dc-favorite-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    height: 28px;
    box-sizing: border-box;
    gap: 4px;
}

.dux-dc-favorite-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.dux-dc-favorite-btn.dux-dc-favorited {
    background: #fff2f0;
    border-color: #ffccc7;
    color: #ef4444;
}

.favorite-icon {
    font-size: 12px;
}

.dux-dc-download-btn.small {
    padding: 6px 14px;
    font-size: 13px;
}

.dux-dc-points-log {
    overflow-x: auto;
}

.dux-dc-points-table {
    width: 100%;
    border-collapse: collapse;
}

.dux-dc-points-table th,
.dux-dc-points-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.dux-dc-points-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.dux-dc-points-table tr:hover {
    background: #f8fafc;
}

.points-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.points-type.earn {
    background: #dcfce7;
    color: #46C37B;
}

.points-type.spend {
    background: #fee2e2;
    color: #ef4444;
}

.points-change {
    font-weight: 600;
}

.points-change.earn {
    color: #46C37B;
}

.points-change.spend {
    color: #ef4444;
}

@media (max-width: 768px) {
    .dux-dc-main {
        flex-direction: column;
    }
    
    .dux-dc-sidebar-right {
        width: 100%;
    }
    
    .dux-dc-filter-list {
        flex-direction: column;
    }
    
    .dux-dc-filter-list li a {
        width: 100%;
        text-align: center;
    }
    
    .dux-dc-detail-info {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .dux-dc-detail-download-btn {
        align-self: flex-end;
    }

    .dux-dc-detail-title {
        font-size: 18px;
    }

    .dux-dc-detail-meta {
        flex-wrap: wrap;
        padding-left: 26px;
    }

    .dux-dc-detail-meta .meta-item:not(:last-child)::after {
        margin: 0 12px;
    }

    .dux-dc-preview-footer {
        padding: 0 16px;
    }
    
    .dux-dc-header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .dux-dc-header-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .dux-dc-search-bar {
        width: 100%;
    }
    
    .dux-dc-user-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dux-dc-material-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dux-dc-card-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .dux-dc-card-actions {
        flex-direction: row;
        align-items: center;
    }
    
    .dux-dc-user-info-section {
        flex-direction: column;
        text-align: center;
    }
    
    .dux-dc-user-points-display {
        justify-content: center;
    }
    
    .dux-dc-tabs-list li a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .dux-dc-points-table {
        font-size: 12px;
    }
    
    .dux-dc-points-table th,
    .dux-dc-points-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .dux-dc-header-top {
        padding: 12px 15px;
    }
    
    .dux-dc-header {
        padding: 15px;
    }
    
    .dux-dc-material-card {
        padding: 18px 16px 22px;
        min-height: 80px;
    }
    
    .dux-dc-card-title {
        font-size: 17px;
    }
    
    .dux-dc-card-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .dux-dc-download-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .dux-dc-favorite-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .dux-dc-user-info-section {
        padding: 20px 15px;
    }
    
    .dux-dc-user-content {
        padding: 15px;
    }
    
    .dux-dc-tabs-list {
        flex-wrap: wrap;
    }
    
    .dux-dc-tabs-list li {
        flex: 1;
        min-width: 33%;
    }
    
    .dux-dc-tabs-list li a {
        text-align: center;
        padding: 10px 8px;
    }
}

.dux-dc-copyright {
    margin: 16px 0 24px;
    padding: 12px 14px;
    background: #f8fafc;
    border-left: 3px solid #94a3b8;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.dux-dc-detail-actions.top {
    display: none;
}

.dux-dc-footer-links {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.dux-dc-footer-links a {
    color: #64748b;
    text-decoration: none;
    margin: 0 8px;
}

.dux-dc-footer-links a:hover {
    color: #46C37B;
}

.dux-dc-feedback-desc {
    color: #64748b;
    margin-bottom: 20px;
}

.dux-dc-feedback-form .form-row {
    margin-bottom: 16px;
}

.dux-dc-feedback-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #334155;
}

.dux-dc-feedback-form input,
.dux-dc-feedback-form textarea {
    width: 100%;
    max-width: 640px;
    padding: 10px 12px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    box-sizing: border-box;
}

.dux-dc-notice {
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.dux-dc-notice.success {
    background: #ecfdf5;
    color: #047857;
}

.dux-dc-notice.error {
    background: #fef2f2;
    color: #b91c1c;
}

/* ─── Hot documents grid ─── */
.dux-dc-hot-docs {
    margin-top: 30px;
    padding: 24px 28px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.dux-dc-hot-docs h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #46C37B;
    color: #1e293b;
}

.dux-dc-hot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 0;
}

.hot-doc-card {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px dashed #e8ecf1;
}

.hot-doc-card:nth-last-child(-n+2):nth-child(even),
.hot-doc-card:nth-last-child(-n+2):nth-child(odd) {
    border-bottom: none;
}

.hot-doc-rank {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    grid-row: 1 / 3;
}

.hot-doc-card:nth-child(1) .hot-doc-rank {
    background: linear-gradient(-88deg, #fc7540 0%, #ef9520 81%);
    color: #fff;
}

.hot-doc-card:nth-child(2) .hot-doc-rank {
    background: linear-gradient(-88deg, #f7a86e 0%, #ffb351 81%);
    color: #fff;
}

.hot-doc-card:nth-child(3) .hot-doc-rank {
    background: linear-gradient(-88deg, #fbc98a 0%, #ffd48a 81%);
    color: #fff;
}

.hot-doc-title {
    grid-column: 2;
    font-size: 15px;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hot-doc-title:hover {
    color: #46C37B;
    transform: translateX(4px);
}

.hot-doc-meta {
    grid-column: 2;
    width: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0;
    padding-left: 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.3;
}

.hot-meta-sep {
    margin: 0 4px;
    color: #cbd5e1;
}

.hot-meta-stat {
    font-weight: 500;
    color: #64748b;
}

.hot-doc-meta .file-preview,
.hot-doc-meta .file-download {
    position: relative;
    padding-left: 18px;
}

.hot-doc-meta .file-preview::before,
.hot-doc-meta .file-download::before {
    width: 14px;
    height: 14px;
}

.hot-doc-meta .info-item::after {
    content: none;
}

/* Responsive */
@media (max-width: 768px) {
    .dux-dc-hot-grid {
        grid-template-columns: 1fr;
    }
    .hot-doc-card:nth-last-child(2) {
        border-bottom: 1px dashed #e8ecf1;
    }
    .hot-doc-card:last-child {
        border-bottom: none;
    }
}

/* ─── Detail page sidebar ─── */

/* 热门文档 - vertical list */
/* Promo banner */
.dux-dc-sidebar-promo {
    overflow: hidden;
    padding: 0;
}

.sidebar-promo-banner {
    background: linear-gradient(135deg, #46C37B 0%, #329a5c 100%);
    padding: 20px 18px;
    color: #fff;
    text-align: center;
}

.sidebar-promo-banner h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.sidebar-promo-banner p {
    font-size: 13px;
    margin: 0;
    opacity: 0.85;
}

/* QR / info section */
.dux-dc-sidebar-qr {
    text-align: center;
}

.sidebar-qr-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-qr-item:last-child {
    border-bottom: none;
}

.sidebar-qr-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
}

.qr-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 6px;
}

.qr-placeholder {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.4;
}

.sidebar-qr-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Detail layout responsive */
@media (max-width: 768px) {
    .dux-dc-detail-layout {
        flex-direction: column;
    }

    .dux-dc-detail-sidebar {
        width: 100%;
    }
}

.dux-dc-download-btn.secondary {
    display: inline-block;
    margin-left: 10px;
    background: #fff;
    color: #334155;
    border: 1px solid #d0d7de;
}

.dux-dc-user-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.dux-dc-user-table th,
.dux-dc-user-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    text-align: left;
}

.dux-dc-user-table th {
    background: #f8fafc;
    font-weight: 600;
}

.dux-dc-user-table tr:last-child td {
    border-bottom: none;
}
