.sunny-posts-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    position: relative;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 10px;
}

.sunny-posts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.02) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.sunny-posts-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sunny-posts-title i {
    color: #ffc107;
}

.sunny-posts-count {
    font-size: 14px;
    color: #666;
}

.sunny-posts-list {
    padding: 0;
}

.sunny-post-item {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sunny-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sunny-post-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sunny-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #ffc107;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 3px 0 0 3px;
}

.sunny-post-item:hover::before {
    transform: scaleY(1);
}

.sunny-post-top {
    border: 1px solid rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.sunny-post-top::before {
    background: #ffc107;
}

.sunny-top-badge {
    background: #ffc107;
    color: #333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

.sunny-post-image {
    flex: 0 0 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sunny-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.95;
}

.sunny-post-item:hover .sunny-post-image img {
    transform: scale(1.05);
    opacity: 1;
}

.sunny-post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 24px;
}

.sunny-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 193, 7, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sunny-post-item:hover .sunny-post-overlay {
    opacity: 1;
}

.sunny-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sunny-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.sunny-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sunny-category-link {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.sunny-category-link:hover {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.sunny-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.sunny-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunny-post-title:hover,
.sunny-post-title a:hover {
    color: #ffc107;
}

.sunny-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sunny-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sunny-post-stats {
    display: flex;
    gap: 12px;
    color: #999;
    font-size: 13px;
}

.sunny-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sunny-read-more-btn {
    color: #ffc107;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #ffc107;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 193, 7, 0.05);
}

.sunny-read-more-btn:hover {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.sunny-category-list {
    list-style: none;
}

.sunny-category-item {
    margin-bottom: 8px;
}

.sunny-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sunny-category-item a:hover {
    background: rgba(255, 193, 7, 0.1);
    color: #333;
    border-color: rgba(255, 193, 7, 0.2);
}

.sunny-category-list .sunny-active {
    background: rgba(255, 193, 7, 0.1);
    color: #333;
    font-weight: 600;
    border-color: rgba(255, 193, 7, 0.3);
}

.sunny-category-count {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.sunny-hot-posts {
    list-style: none;
}

.sunny-hot-post-item {
    margin-bottom: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sunny-hot-post-item:hover {
    background: #fff;
    border-color: rgba(255, 193, 7, 0.2);
}

.sunny-hot-post-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sunny-hot-post-title {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.sunny-hot-post-title:hover {
    color: #ffc107;
}

.sunny-hot-post-meta {
    font-size: 12px;
    color: #999;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sunny-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 193, 7, 0.3) #f8f9fa;
}

.sunny-archive-list::-webkit-scrollbar {
    width: 6px;
}

.sunny-archive-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.sunny-archive-list::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.sunny-archive-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.5);
}

.sunny-archive-item {
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sunny-archive-item:last-child {
    margin-bottom: 0;
}

.sunny-archive-item:hover {
    background: #fff;
    border-color: rgba(255, 193, 7, 0.2);
}

.sunny-archive-item a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.sunny-archive-item:hover a {
    color: #ffc107;
}

.sunny-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sunny-tag-item {
    background: #f8f9fa;
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sunny-tag-item:hover {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.sunny-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.sunny-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.sunny-stat-card:hover {
    background: #fff;
    border-color: rgba(255, 193, 7, 0.2);
}

.sunny-stat-icon {
    width: 40px;
    height: 40px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    flex-shrink: 0;
}

.sunny-stat-info {
    flex: 1;
}

.sunny-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.sunny-stat-label {
    font-size: 12px;
    color: #666;
}

.sunny-quote {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sunny-quote-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.sunny-quote-author {
    color: #ffc107;
    font-size: 12px;
    font-weight: 500;
}

.sunny-empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.sunny-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffc107;
}

.sunny-empty-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.sunny-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffc107;
    color: #333;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sunny-empty-btn:hover {
    background: #e0a800;
}

@media (max-width: 768px) {
    .sunny-post-item {
        flex-direction: column;
        gap: 15px;
        background: rgba(255, 255, 255, 0.98);
        margin-bottom: 15px;
    }

    .sunny-post-image {
        flex: none;
        height: 160px;
        border-radius: 6px;
    }

    .sunny-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sunny-post-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .sunny-meta-item,
    .sunny-stat-item {
        background: #f8f9fa;
        padding: 3px 6px;
    }

    .sunny-category-item a {
        padding: 10px 12px;
        background: #f8f9fa;
    }

    .sunny-stats-grid {
        grid-template-columns: 1fr;
    }

    .sunny-tag-cloud {
        gap: 6px;
    }

    .sunny-tag-item {
        font-size: 11px;
        padding: 4px 8px;
    }
}

.sunny-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: sunny-fadeInUp 0.6s ease forwards;
}

@keyframes sunny-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sunny-widget-title {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.sunny-widget-title i {
    color: #ffc107;
}

.sunny-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 30px;
    height: 2px;
    background: #ffc107;
    border-radius: 1px;
}

.sunny-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: start;
}

.sunny-main-content {
    flex: 1;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
}

.sunny-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    position: relative;
}

.sunny-breadcrumb {
    padding: 20px 0 12px 0;
    margin-bottom: 20px;
    position: relative;
}

.sunny-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sunny-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunny-breadcrumb a:hover {
    color: #ffc107;
}

.sunny-widget {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
}

.sunny-widget-content {
    padding: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .sunny-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .sunny-breadcrumb-inner {
        margin: 0 15px;
        padding: 12px 15px;
    }

    .sunny-sidebar {
        width: 100%;
    }
}


body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.6;
    color: #333;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(135, 206, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(152, 216, 232, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 40% 80%, rgba(176, 224, 230, 0.3) 0%, transparent 40%),
        linear-gradient(180deg, rgba(135, 206, 235, 0.2) 0%, rgba(152, 216, 232, 0.2) 40%, rgba(173, 216, 230, 0.2) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.sunny-sky-gradient {
    background:
        linear-gradient(180deg,
            rgba(135, 206, 235, 0.1) 0%,
            rgba(152, 216, 232, 0.1) 20%,
            rgba(173, 216, 230, 0.1) 40%,
            rgba(176, 224, 230, 0.1) 60%,
            rgba(224, 246, 255, 0.1) 80%,
            rgba(240, 248, 255, 0.1) 100%);
}

.sunny-rainbow {
    opacity: 0.3;
}

.sunny-rainbow.sunny-rainbow-active {
    opacity: 0.5;
}