:root {
    --color-primary: #007bff;
    --color-success: #27ae60;
    --color-danger: #e74c3c;
    --color-warning: #ffc107;
    --color-purple: #667eea;
    --color-purple-dark: #764ba2;
    --color-orange: #ff8f00;
    --color-bg: #f4f4f4;
    --color-white: #fff;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-lighter: #999;
    --color-border: #ddd;
    --color-border-light: #eee;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 15px rgba(0,0,0,0.2);
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(180deg, #f8f9ff 0%, #f0f4ff 100%);
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #007bff 100%);
    color: var(--color-white);
    padding: 1.2rem 1rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

nav {
    background: rgba(11, 151, 231, 0.42);
    padding: 0.5rem;
    width: 400px;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--color-white);
    text-decoration: none;
}

.hotarticle {
    max-width: 1100px;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-all;
background: #ffffff;
padding: 30px;
}

.container {
    max-width: 100%;
    padding-top: 120px;
}

.category-link {
    position: relative;
    display: inline-block;
    color: var(--color-text);
    text-decoration: none;
    padding: 4px 2px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.category-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateX(5px);
}

.category-link::after {
    content: attr(title);
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    padding: 6px 12px;
    background-color: var(--color-text);
    color: var(--color-white);
    font-size: 12px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.category-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(5px);
}

.article {
    background: var(--color-white);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    
    box-shadow: var(--shadow-sm);
}



.article h2 {
    margin-bottom: 15px;
}

.article-meta {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}



.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-text);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn:hover {
    background: #555;
}

.btn-sm {
    padding: 0.15rem 0.5rem;
    font-size: 0.15rem;
    margin-left: 0.15rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.15rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.form-group input,
.form-group select {
    padding: 0.15rem;
}

.tree-item {
    margin-bottom: 0.5rem;
}

.tree-header {
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.tree-header:hover {
    background: #eee;
}

.tree-children {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.main-container {
    display: flex;
    gap: 16px;
    margin-top: 1.2rem;
    width: 100%;
    padding: 0 16px 2rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.sidebar,
.sidebar-left {
    width: 15%;
    min-width: 150px;
    max-width: 220px;
    height: fit-content;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
    border: 1px solid rgba(102,126,234,0.15);
    transition: var(--transition);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.sidebar-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-left ul li {
    margin-bottom: 0.25rem;
}

.sidebar-left ul li a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.sidebar-left ul li a:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    color: #667eea;
}

.sidebar-left ul ul {
    padding-left: 12px;
    margin-top: 0.2rem;
}

.sidebar-left ul ul li a {
    font-size: 12px;
    padding: 4px 8px;
    color: #666;
}

.sidebar-left ul li a.category-link {
    display: block !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
}

.sidebar-left ul li a.category-link:hover {
    transform: none !important;
}

.sidebar-left .sidebar-title {
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-left .sidebar-title span {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.sidebar-right {
    width: 15%;
    min-width: 200px;
    max-width: 280px;
    background: var(--color-white);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.sidebar:hover,
.sidebar-right:hover {
    box-shadow: 0 12px 40px rgb(8, 184, 96);
    transform: translateY(-2px);
}

.sidebar ul,
.sidebar-right ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li,
.sidebar-right ul li {
    margin-bottom: 0.5rem;
}

.sidebar ul li a,
.sidebar-right ul li a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    display: block;
    padding: 4px 8px;
    border-radius: var(--radius-md);
}

.sidebar ul li a:hover,
.sidebar-right ul li a:hover {
    color: var(--color-primary);
    background: #f0f0f0;
}

.content {
    flex: 1;
    min-width: 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.article-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.article-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.article-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.article-info h3 {
    margin: 0 0 0.35rem 0;
    font-size: 22px;
    color: var(--color-text);
}

.article-info p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--color-text-light);
}

.article-stats {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    margin-top: 0.35rem;
}

.article-detail {
    width: 100%;
}

.article-detail .article-header {
    margin-bottom: 1.5rem;
}

.article-detail .article-title {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.article-detail .article-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.article-main {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-screenshot {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.article-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.default-screenshot {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-white);
}

.article-info {
    flex: 1;
}

.article-info h2 {
    margin: 0 0 1rem 0;
    color: var(--color-text);
}

.article-info .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    width: 200px;
    padding: 0.25rem 0.75rem;
    background: #e9e9e9;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.btn-link-direct {
    display: inline-block;
    width: 200px;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: var(--transition);
    margin-right: 0.5rem;
    text-align: center;
}

.btn-link-direct:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-feedback {
    width: 100px;
    padding: 0.5rem 1rem;
    background: var(--color-success);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 0.5rem;
    text-align: center;
}

.btn-feedback:hover {
    background: #229954;
    transform: translateY(-3px);
}

.like-btn {
    width: 100px;
    padding: 0.5rem 1.5rem;
    background: var(--color-danger);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.like-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

.btn-edit {
    display: inline-block;
    width: 200px;
    padding: 0.5rem 1.5rem;
    background: var(--color-success);
    color: var(--color-white);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.5rem;
    text-align: center;
}

.btn-edit:hover {
    background: #229954;
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--color-white);
}

.hot-article {
    transition: transform 0.2s ease, background 0.2s ease;
}

.hot-article:hover {
    transform: translateX(5px);
    background: #e9e9e9 !important;
}

.hot-link {
    text-decoration: none;
    color: var(--color-text);
}

.hot-link:hover {
    color: var(--color-primary);
}

.comment {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.comment-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.comment-content {
    color: var(--color-text);
}

.article-logo2 {
    margin: 1.5rem 0;
}

.article-logo2 img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.logo2-placeholder {
    width: 200px;
    height: 200px;
    background: #cce5ff;
    border-radius: var(--radius-lg);
}

.recommend-section {
    width: 100%;
    max-height: 500px;
    height: auto;
    margin: 0 auto 1rem;
    padding: 1.5rem;
    background: transparent;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex: 0 0 auto;
}

.scroll-container {
    height: 320px;
    overflow: hidden;
    position: relative;
}

#scroll-content {
    animation: scrollUp 20s linear infinite;
}

#hot-scroll-content {
    animation: scrollUp 20s linear infinite;
}

.bg1 {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.bg2 {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.bg3 {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.bg4 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.recommend-ad {
    flex: 0 0 auto;
    height: auto;
    background: transparent;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    align-self: stretch;
}

.recommend-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.recommend-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 7px 9px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(102, 126, 234, 0.15);
    flex: 0 0 100%;
    width: 100%;
    min-height: 38px;
    max-height: 38px;
    margin-bottom: 8px;
    align-items: center;
    transition: var(--transition);
}

.recommend-card:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.25);
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0ff 100%);
}

.recommend-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recommend-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.default-recommend-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-orange) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.recommend-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 4px;
}

.recommend-title {
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    flex: 1;
}

.user-count {
    font-size: 0.7rem;
    color: var(--color-danger);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 6px;
}

.recommend-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recommend-info h3 {
    margin: 0 0 4px 0;
    font-size: 0.55rem;
    line-height: 1.2;
    font-weight: bold;
    color: var(--color-text);
}

@media (max-width: 1399px) {
    .sidebar-right {
        width: 18%;
    }
    .recommend-section {
        width: 90%;
    }
}

@media (max-width: 991px) {
    .main-container {
        flex-direction: column;
    }
    .sidebar,
    .sidebar-right {
        width: 100%;
        max-width: none;
        margin-bottom: 1rem;
    }
    .sidebar ul,
    .sidebar-right ul {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .sidebar ul li,
    .sidebar-right ul li {
        white-space: nowrap;
    }
    .content {
        width: 100%;
    }
    .article-main {
        flex-direction: column;
    }
    .article-screenshot {
        width: 100%;
        height: 200px;
    }
    .article-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    .main-container {
        padding: 0 10px;
    }
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .recommend-card {
        flex: 1 1 100%;
    }
}

.token-exchanges {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0.45rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #000000;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08), 
                0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
}

.exchange-horizontal-wrapper {
    display: flex;
    gap: 0.25rem;
    align-items: flex-start;
    width: 100%;
}

.exchange-section {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 50%;
    min-width: 0;
}

.foreign-section .exchange-item {
    background: linear-gradient(145deg, #fff5d9 0%, #ffe5a8 100%);
}

.foreign-section .exchange-name {
    color: #007bff;
}

.foreign-section .exchange-value {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exchange-section:not(.foreign-section) .exchange-item {
    background: linear-gradient(145deg, #f5f5f5 0%, #e0e0e0 100%);
}

.section-title {
    font-size: 12px;
    font-weight: 700;
    color: #007bff;
    padding: 0.2rem 0.3rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #dee2e6;
    margin-bottom: 0.2rem;
}

.section-title.glowing {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px #007bff, 0 0 10px #007bff;
    }
    50% {
        text-shadow: 0 0 10px #007bff, 0 0 15px #007bff;
    }
}

.exchange-header-row {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.25rem;
    background: linear-gradient(135deg, #f2f6fa 0%, #e9ecef 100%);
    border-radius: 6px;
    margin-bottom: 0.2rem;
    border: 1px solid #dee2e6;
}

.exchange-header-cell {
    flex: 0 0 auto;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #495057;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-header-cell:first-child {
    flex: 0 0 auto;
    min-width: 30px;
}

.exchange-header-cell:nth-child(2) {
    flex: 1 1 auto;
    min-width: 80px;
}

.exchange-header-cell:nth-child(3),
.exchange-header-cell:nth-child(4),
.exchange-header-cell:nth-child(5) {
    flex: 0 0 auto;
    min-width: 70px;
}

.exchange-header-cell:nth-child(6) {
    flex: 0 0 auto;
    min-width: 40px;
}

.exchange-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.exchange-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    border-bottom: 2px solid #e9ecef;
}

.exchange-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.exchange-time {
    font-size: 0.65rem;
    color: #868e96;
    font-weight: 500;
    white-space: nowrap;
}

.exchange-item {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 8px;
    padding: 0.22rem 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.25s ease;
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.exchange-item:hover {
    background: linear-gradient(145deg, #f0f7ff 0%, #e8f4ff 100%);
    border-color: #b8daff;
    transform: translateX(2px);
    box-shadow: 0 1px 5px rgba(0,123,255,0.08);
}

.exchange-field {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.exchange-rank {
    flex: 0 0 auto;
    min-width: 26px;
}

.exchange-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 70px;
}

.exchange-recharge {
    font-size: 0.58rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 62px;
}

.exchange-value {
    font-size: 0.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 62px;
}

.exchange-heat {
    font-size: 0.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff7043 0%, #e64a19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 62px;
}

.exchange-change {
    font-size: 0.5rem;
    padding: 1px 2px;
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-change.up {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.exchange-change.down {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.exchange-footer {
    display: flex;
    justify-content: center;
    padding-top: 0.35rem;
    border-top: 1px solid #e9ecef;
}

.exchange-time {
    font-size: 0.6rem;
    color: #868e96;
    font-weight: 500;
}

/* 文章访问地址样式 */
.article-url {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.article-url-text {
    color: #495057;
    font-family: 'Courier New', Courier, monospace;
    word-break: break-all;
    background: white;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

/* 页脚样式 */
.site-footer {
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section {
    margin-bottom: 0.2rem;
}

.footer-section p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.2;
}

.copyright {
    padding-top: 0.3rem;
    border-top: 1px solid #e9ecef;
    margin-top: 0.3rem;
}

.copyright p {
    color: #495057;
    font-weight: 500;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* 分类链接优化 */
.sidebar ul li a.category-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar ul li a.category-link:hover {
    background: linear-gradient(135deg, #e8f0ff 0%, #e0e7ff 100%);
    color: #4b0cc0;
    transform: translateX(4px);
}

/* 热门文章卡片优化 */
.hot-article a.hot-link {
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.hot-article a.hot-link:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-color: #b8daff;
}

/* 主内容区域分隔条 */
.content hr {
    border: none;
    height: 30px;
    background: linear-gradient(to right, #0044ff 0%, #007bff 5%, #a8c4e0 10%, #cfe0f8 25%, #e7f3ff 30%);
    width: 100%;
    margin-bottom: 15px;
    border-radius: 15px;
}

/* 文章样式 */
.article {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article h2 {
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-content {
    margin-bottom: 1rem;
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-all;
    overflow-x: hidden;
}

.article-content * {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-all;
}

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

.article-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.article-content a {
    word-break: break-all;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ee0000;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.btn:hover {
    background: #555;
}

.btn-sm {
    padding: 0.15rem 0.5rem;
    font-size: 0.15rem;
    margin-left: 0.15rem;
}

/* 表单样式 */
.form-group {
    margin-bottom: 0.15rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.15rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.15rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.form-group textarea {
    width: 300px;
    height: 10px;
    padding: 0.15rem;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#char-count {
    color: #666;
    font-size: 0.8rem;
}

/* 树形结构样式 */
.tree-item {
    margin-bottom: 0.5rem;
}

.tree-header {
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.tree-header:hover {
    background: #eee;
}

.tree-children {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* 登录表单 */
.login-form {
    max-width: 400px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 管理员导航 */
.admin-nav {
    background: #f0f0f0;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.admin-nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    background: #ddd;
    border-radius: 3px;
}

.admin-nav ul li a:hover {
    background: #ccc;
}

/* 评论样式 */
.comment {
    background: #f9f9f9;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.comment-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* 点赞按钮 */
.like-btn {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
}

.like-btn:hover {
    background: #c0392b;
}

/* 文章超链接区域 */
.article-hyperlink {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 5px 5px 0;
    width: 20%;
}

.article-hyperlink h4 {
    margin-bottom: 0.5rem;
    color: #007bff;
}

.link-url {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #666;
    word-break: break-all;
    margin-bottom: 0.8rem;
}

/* 直接链接按钮 */
.btn-link-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(0);
    width: 30%;
}

.btn-link-direct:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-link-direct:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* 浏览量样式 */
.views {
    color: #666;
    font-size: 0.9rem;
}

/* 文章主内容布局 */
.article-main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

/* 网站截图 */
.article-screenshot {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.article-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.default-screenshot {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

/* 网站信息 */
.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.article-info h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* 标签样式 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: #e8f4fd;
    color: #007bff;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 反馈按钮 */
.btn-feedback {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-feedback:active {
    transform: translateY(0);
}

/* ==================== 首页样式 ==================== */

/* 顶部功能区域容器 */
.top-sections {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 1rem auto;
    gap: 12px;
    max-width: 1600px;
    padding: 0 16px;
}

/* 左侧热点AI资讯区域 */
.hot-news-section {
    width: 22%;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
}

.hot-news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding-bottom: 1px;
    position: relative;
    top: 0.1px;
}

.hot-news-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(15deg, #abb7f0 0%, #158b7c 100%);
    letter-spacing: 0.5px;
}

.hot-news-list {
    padding-right: 2px;
}

.hot-news-item {
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.hot-news-item a {
    text-decoration: none;
    display: block;
}

.hot-news-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    color: #2d3748;
    line-height: 1.5;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
}

.hot-news-item span.rank {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.hot-news-item span.rank-secondary {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0ff;
    color: #667eea;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.hot-news-empty {
    padding: 24px 16px;
    text-align: center;
    color: #a0aec0;
}

.hot-news-empty-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

/* 右侧AI工具数据区域 */
.ai-tools-section {
    display: flex;
    flex-direction: column;
    width: 22%;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(102,126,234,0.08);
    padding: 10px;
}

.ai-tools-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8f0ff;
}

.ai-tools-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.scroll-container {
    flex: 1;
}

/* 左侧分类导航 */
.sidebar-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8f0ff;
}

.sidebar-title {
    display: inline;
    color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-text-fill-color: transparent;
    font-size: 15px;
    font-weight: 700;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 0.5rem;
}

.sidebar ul li a.category-link {
    display: flex;
    align-items: center;
    padding: 10px 2px;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}

.sidebar ul li ul {
    list-style: none;
    padding-left: 0.6rem;
    margin-top: 0.3rem;
}

.sidebar ul li ul li {
    margin-bottom: 0.25rem;
}

.sidebar ul li ul li a.category-link {
    font-size: 0.78rem;
    padding: 4px 8px;
    color: #666666;
}

/* 中间文章区域头部 */
.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.content-header-line {
    height: 24px;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
}

.content-badge {
    font-size: 11px;
    color: #a0aec0;
    background: #e8f0ff;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* 文章统计 */
.article-stats {
    display: flex;
    gap: 1rem;
}

.article-stats span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
}

/* 右侧热度排行 */
.sidebar-right-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8f0ff;
}

.sidebar-right-title {
    display: inline;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-text-fill-color: transparent;
}


/* AI������ֱ�����޸� - ������ȼ� */
nav.sidebar-left {
    display: block !important;
}

nav.sidebar-left ul {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

nav.sidebar-left ul li {
    display: block !important;
    margin-bottom: 5px !important;
}

nav.sidebar-left ul li a.category-link {
    display: block !important;
    width: 100% !important;
    padding: 6px 10px !important;
    text-align: left !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    flex: none !important;
    float: none !important;
    clear: both !important;
}

nav.sidebar-left ul ul {
    display: block !important;
    padding-left: 15px !important;
}

nav.sidebar-left ul ul li {
    display: block !important;
}

nav.sidebar-left ul ul li a.category-link {
    display: block !important;
    font-size: 12px !important;
}

/* 面包屑导航样式 */
.breadcrumb-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
    margin-left: 180px;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #999;
    font-size: 14px;
}

.breadcrumb li a {
    text-decoration: none;
    color: #667eea;
    font-size: 14px;
    transition: all 0.2s ease;
}

.breadcrumb li a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}
