.main-container {
    padding-top: 20px;
    transform: translateY(20px);
    transition: all 0.6s ease;
}


.welcome-banner {
    background: linear-gradient(135deg, #1E9FFF 0%, #009688 100%);
    border-radius: 10px;
    padding: 40px 30px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 4px 20px rgba(30, 159, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 1;
    max-width: 60%;
}

.banner-title {
    font-size: 32px;
    font-weight: 300;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.banner-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    opacity: 0.8;
}

.banner-visual {
    width: 200px;
    height: 200px;
    position: relative;
    flex-shrink: 0;
}

.visual-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.icon-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.icon-2 {
    bottom: 30px;
    left: 20px;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 30px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}


.content-layout {
    margin-top: 20px;
}


.article-container {
    margin-bottom: 20px;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.article-title {
    margin: 0;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-title i {
    color: #1E9FFF;
}

.article-desc {
    margin: 5px 0 0 0;
    color: #999;
    font-size: 14px;
}


.article-grid {
    display: grid;
    gap: 20px;
    padding: 20px;
}

.article-item {
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.article-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.article-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.article-card .layui-card-body {
    padding: 20px;
}

.article-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.article-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-actions {
    display: flex;
    gap: 5px;
}

.action-btn {
    background: none;
    border: none;
    color: #999;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #f8f9fa;
    color: #1E9FFF;
}

.article-title-text {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
}

.article-title-text a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title-text a:hover {
    color: #1E9FFF;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #999;
}

.meta-left {
    display: flex;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-item {
    padding: 2px 8px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #1E9FFF;
    color: white;
}

.read-more-btn {
    border: none;
    background: none;
    color: #1E9FFF;
    font-size: 12px;
}

.read-more-btn:hover {
    background: #1E9FFF;
    color: white;
}


.sidebar-card {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-card .layui-card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.sidebar-card .layui-card-header i {
    margin-right: 8px;
    color: #1E9FFF;
}

.sidebar-card .layui-card-body {
    padding: 20px;
}

.refresh-btn {
    background: none;
    border: none;
    color: #999;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.refresh-btn:hover {
    color: #1E9FFF;
    transform: rotate(180deg);
}


.profile-info {
    text-align: center;
    margin-bottom: 20px;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E9FFF, #009688);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto;
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: #52c41a;
    border-radius: 50%;
    border: 2px solid white;
}

.profile-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.profile-title {
    margin: 0 0 10px 0;
    color: #999;
    font-size: 14px;
}

.bio {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.profile-stats .stat-item {
    text-align: center;
}

.profile-stats .stat-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.profile-stats .stat-label {
    font-size: 12px;
    color: #999;
}


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

.tag-cloud .tag-item {
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.tag-cloud .tag-item:hover {
    background: #1E9FFF;
    color: white;
    transform: translateY(-2px);
}


.site-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-item {
    transition: all 0.3s;
}

.site-link {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.site-link:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.site-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1E9FFF, #009688);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    flex-shrink: 0;
}

.site-info {
    flex: 1;
    min-width: 0;
}

.site-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.site-meta {
    font-size: 12px;
    color: 999;
    display: flex;
    gap: 8px;
    align-items: center;
}


.hot-sites {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-site-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.hot-site-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.rank-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.rank-2 {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.rank-3 {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.rank-4,
.rank-5 {
    background: #1E9FFF;
}

.hot-site-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.hot-site-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.hot-site-views {
    font-size: 12px;
    color: #999;
}


.quote-container {
    text-align: center;
}

.quote-content {
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text {
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.quote-author {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.quote-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: #999;
}


.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.share-option:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.share-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.wechat {
    background: #07c160;
}

.weibo {
    background: #e6162d;
}

.qq {
    background: #12b7f5;
}

.copy {
    background: #666;
}

.share-url {
    display: flex;
    gap: 10px;
}

.url-input {
    flex: 1;
}

.copy-btn {
    flex-shrink: 0;
}


.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #666;
}

.empty-state p {
    margin: 0 0 20px 0;
    color: #999;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .main-container {
        padding-top: 15px;
    }

    .welcome-banner {
        padding: 30px 20px;
        margin-bottom: 15px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .banner-text {
        max-width: 100%;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-subtitle {
        font-size: 14px;
    }

    .banner-stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-text {
        font-size: 12px;
    }

    .banner-visual {
        width: 150px;
        height: 150px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .content-layout {
        margin-top: 15px;
    }

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

    .article-header {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-title {
        font-size: 16px;
    }

    .article-grid {
        padding: 15px;
        gap: 15px;
    }

    .article-card .layui-card-body {
        padding: 15px;
    }

    .article-title-text {
        font-size: 16px;
    }

    .article-excerpt {
        font-size: 13px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-left {
        gap: 10px;
        flex-wrap: wrap;
    }

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

    .sidebar-card {
        margin-bottom: 15px;
    }

    .sidebar-card .layui-card-header {
        padding: 12px 15px;
    }

    .sidebar-card .layui-card-body {
        padding: 15px;
    }

    .profile-info {
        margin-bottom: 15px;
    }

    .avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-stats {
        padding: 12px 0;
    }

    .profile-stats .stat-number {
        font-size: 16px;
    }

    .site-link {
        padding: 10px;
    }

    .site-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }

    .site-title {
        font-size: 13px;
    }

    .site-meta {
        font-size: 11px;
    }

    .hot-site-item {
        padding: 10px;
    }

    .rank-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
        margin-right: 10px;
    }

    .hot-site-title {
        font-size: 13px;
    }

    .hot-site-views {
        font-size: 11px;
    }

    .quote-content {
        min-height: 50px;
    }

    .quote-text {
        font-size: 13px;
    }

    .quote-author {
        font-size: 11px;
    }

    .modal-content {
        margin: 10px;
        max-width: none;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-body {
        padding: 15px;
    }

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

    .share-option {
        padding: 10px;
    }

    .share-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .empty-state {
        padding: 30px 15px;
    }

    .empty-state i {
        font-size: 36px;
    }

    .empty-state h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .welcome-banner {
        padding: 20px 15px;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-subtitle {
        font-size: 13px;
    }

    .banner-stats {
        gap: 15px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 18px;
    }

    .banner-visual {
        width: 120px;
        height: 120px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .article-header {
        padding: 12px;
    }

    .article-title {
        font-size: 15px;
    }

    .article-grid {
        padding: 12px;
        gap: 12px;
    }

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

    .article-title-text {
        font-size: 15px;
    }

    .article-excerpt {
        font-size: 12px;
    }

    .meta-item {
        font-size: 11px;
    }

    .tag-item {
        font-size: 11px;
        padding: 2px 6px;
    }

    .read-more-btn {
        font-size: 11px;
    }

    .sidebar-card .layui-card-header {
        padding: 10px 12px;
        font-size: 14px;
    }

    .sidebar-card .layui-card-body {
        padding: 12px;
    }

    .avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .profile-name {
        font-size: 15px;
    }

    .profile-title {
        font-size: 12px;
    }

    .bio {
        font-size: 12px;
    }

    .profile-stats .stat-number {
        font-size: 14px;
    }

    .profile-stats .stat-label {
        font-size: 11px;
    }

    .tag-cloud .tag-item {
        font-size: 11px;
        padding: 3px 8px;
    }

    .site-link {
        padding: 8px;
    }

    .site-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .site-title {
        font-size: 12px;
    }

    .site-meta {
        font-size: 10px;
    }

    .hot-site-item {
        padding: 8px;
    }

    .rank-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-right: 8px;
    }

    .hot-site-title {
        font-size: 12px;
    }

    .hot-site-views {
        font-size: 10px;
    }

    .quote-text {
        font-size: 12px;
    }

    .quote-author {
        font-size: 10px;
    }

    .modal-header {
        padding: 12px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .modal-body {
        padding: 12px;
    }

    .share-options {
        gap: 8px;
    }

    .share-option {
        padding: 8px;
        font-size: 12px;
    }

    .share-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .empty-state {
        padding: 20px 10px;
    }

    .empty-state i {
        font-size: 32px;
    }

    .empty-state h3 {
        font-size: 15px;
    }

    .empty-state p {
        font-size: 13px;
    }
}


.article-card .article-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
}

.article-card .article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card .article-title a:hover {
    color: #1E9FFF;
}


.article-card .article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 0;
    border-bottom: none;
}


.site-meta {
    color: #999;
}


body.no-scroll {
    overflow: hidden;
}


html {
    scroll-behavior: smooth;
}


::selection {
    background: #1E9FFF;
    color: white;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1E9FFF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d7ec7;
}



.article-item.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


@media (prefers-contrast: high) {
    .article-card {
        border-width: 2px;
    }

    .action-btn,
    .tag-item {
        border: 1px solid transparent;
    }

    .action-btn:hover,
    .tag-item:hover {
        border-color: #1E9FFF;
    }
}


@media print {

    .welcome-banner,
    .sidebar-card,
    .share-modal,
    .article-actions {
        display: none !important;
    }

    .article-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .main-container {
        padding-top: 0;
    }
}

.sticky {
    position: sticky;
    top: 10px;
}