:root {
    --theme-color: #2c3e50;
    --negative-theme-color: #1889fb
}

* {
    margin: 0;
    outline: 0padding:0;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    list-style-type: none
}

body {
    background: #f5f7fa;
    line-height: 1.6;
    color: #333
}

article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px
}

article h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 20px;
    text-align: center
}

article p {
    margin-bottom: 20px;
    text-align: justify
}

article pre {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 20px
}

article code {
    font-family: 'Courier New',Courier,monospace;
    font-size: .9rem;
    color: #c7254e;
    background-color: #f9f2f4;
    padding: 2px 4px;
    border-radius: 3px
}

article pre code {
    background-color: transparent;
    padding: 0;
    color: inherit
}

article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,.2)
}

article blockquote {
    border-left: 5px solid #007bff;
    background-color: #f0f7fd;
    padding: 15px;
    margin: 0 0 20px;
    font-style: italic;
    color: #555
}

article ul,ol {
    margin: 1.5rem 0;
    padding-left: 2rem
}

article ol {
    list-style-type: decimal-leading-zero
}

article li {
    margin: .8rem 0;
    padding-left: .5rem
}

@media (max-width: 768px) {
    article img {
        margin:0 auto 20px
    }
}

.max-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    min-height: calc(100vh - 160px)
}

.beautify-container {
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px
}

.side-nav {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--theme-color);
    padding: 2rem 1rem;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,.1)
}

.side-nav .logo img {
    height: 60px;
    margin-top: 10px
}

.side-nav .nav-menu {
    margin-top: 2rem
}

.side-nav .nav-category {
    color: #7f8c8d;
    font-size: .9rem;
    padding: .5rem 1rem;
    margin: 1rem 0;
    text-transform: uppercase
}

.side-nav .nav-links {
    list-style: none
}

.side-nav .nav-links li a {
    display: flex;
    align-items: center;
    padding: .8rem 1.5rem;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    border-radius: 6px;
    transition: all .3s;
    margin: .3rem 0
}

.side-nav .nav-links li a:hover {
    background: var(--negative-theme-color);
    color: #fff
}

.side-nav .nav-links li .active {
    background: var(--negative-theme-color);
    color: #fff
}

.side-nav .nav-links li a i {
    width: 25px;
    margin-right: 1rem;
    font-size: 1.1rem
}

.main-content,main {
    margin-left: 280px;
    padding: 20px
}

.search-page {
    text-align: center;
    background: var(--negative-theme-color);
    padding: 50px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative
}

.search-page .floating1 {
    width: 200px;
    height: 200px;
    position: absolute;
    background-color: rgba(0,0,0,.12);
    border-radius: 8px;
    transform: rotate(45deg);
    top: -60px;
    left: -60px
}

.search-page .floating2 {
    width: 120px;
    height: 120px;
    position: absolute;
    background-color: #faad1440;
    border-radius: 32px;
    transform: rotate(60deg);
    top: -15px;
    left: 46%
}

.search-page .floating3 {
    width: 500px;
    height: 500px;
    position: absolute;
    background-color: #d9363e17;
    border-radius: 100%;
    right: -300px;
    bottom: -300px
}

.search-page .floating4 {
    width: 100px;
    height: 100px;
    position: absolute;
    background-color: #00ffae1f;
    border-radius: 100%;
    right: 10%;
    bottom: 50pxpx
}

.search-page img {
    text-align: center;
    width: 300px
}

.search-page .search-header {
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    position: relative;
    z-index: 9
}

.search-page .search-engine {
    color: #f3f3f3;
    margin-bottom: 20px;
    position: relative;
    z-index: 9
}

.search-page .search-engine li {
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding: 0 10px;
    padding: 4px 8px;
    font-size: 14px;
    font-size: 14px;
    font-size: 14;
    font-size: 1
}

.search-page .search-engine li.active,.search-page .search-engine li:hover {
    cursor: pointer;
    border-bottom-color: #fff;
    background: #fff;
    color: #000;
    border-radius: 10px
}

.search-page .search-box {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 9
}

.search-page .search-container {
    display: flex;
    width: 600px
}

.search-page .search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
    outline: 0;
    transition: border-color .3s
}

.search-page .search-button {
    width: 120px;
    padding: 15px;
    border: none;
    border-radius: 0 10px 10px 0;
    background-color: var(--theme-color);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color .3s
}

.search-page .tags {
    text-align: center;
    padding-left: 0;
    padding-top: 20px;
    margin-bottom: 0;
    position: relative;
    z-index: 9
}

.search-page .tags li {
    color: #f3f3f3;
    display: inline-block;
    margin-right: 15px;
    font-size: 13px;
    margin-bottom: 10px
}

.search-page .tags a {
    background: rgba(0,0,0,.1);
    padding: 6px 12px;
    border-radius: 6px;
    min-width: 50px;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 14px
}

.search-page .tags a span {
    margin-right: 4px
}

.search-page .tags a:hover {
    background: rgba(0,0,0,.5)
}

.side-menu {
    padding: 20px 0;
    top: 0;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    z-index: 999;
    background: #f5f7fa;
    margin-bottom: 20px
}

.side-menu li {
    list-style: none;
    padding: 5px
}

.side-menu a {
    transition: all .3s;
    cursor: pointer;
    border-radius: 1em;
    padding: 6px 10px;
    border: 1px solid #eee;
    display: block;
    font-size: 14px;
    color: #1f1f1f
}

.side-menu li.active a {
    background: var(--negative-theme-color);
    color: #fff;
    border-color: #fff
}

.category-section {
    margin-bottom: 2rem
}

.category-section .category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem
}

.category-section .category-header .more::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg)
}

.category-section .category-title {
    font-size: 20px;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    gap: 10px
}

.category-section .category-title img {
    color: var(--negative-theme-color);
    height: 24px
}

.category-section .category-header .more {
    font-size: 14px;
    color: var(--theme-color)
}

.category-section .category-header .more::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg)
}

.category-section .website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 1.5rem
}

.category-section .website-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: transform .3s,box-shadow .3s;
    cursor: pointer;
    position: relative
}

.category-section .website-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1)
}

.category-section .website-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 20px 20px 0 rgba(0,0,0,.15)
}

.category-section .website-info {
    flex: 1;
    overflow: auto
}

.category-section .website-name {
    color: var(--theme-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.category-section .website-desc {
    color: #7f8c8d;
    font-size: .9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 2;
    height: 40px
}

.category-section .hot-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 15px;
    font-size: .8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.category-section .website-card .access {
    display: none
}

.category-section .website-card:hover .access {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgb(0 0 0 / 25%);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center
}

.category-section .website-card .access a:nth-child(1) {
    background-color: #ff5722
}

.category-section .website-card .access a {
    transform: translateY(-3px);
    background-color: var(--negative-theme-color);
    color: #fff;
    margin: 10px;
    padding: 6px 15px;
    border-radius: 8px
}

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.1);
    z-index: 1000
}

.mobile-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center
}

.mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7f8c8d;
    text-decoration: none;
    position: relative
}

.mobile-nav .nav-item img {
    height: 28px;
    margin-bottom: 2px
}

.mobile-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 10px
}

.mobile-nav .submit-btn {
    position: absolute;
    top: -28px;
    background: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(231,76,60,.3)
}

.mobile-nav .nav-add {
    margin-top: 30px
}

footer {
    text-align: center;
    margin-top: 20px;
    margin-left: 280px
}

footer .layout-container {
    color: #616161;
    margin-bottom: 10px
}

footer .layout-container a {
    color: #616161
}

@media (max-width: 768px) {
    .search-page {
        padding:20px 15px
    }

    .search-page .tags {
        display: none
    }

    .search-header {
        font-size: 24px
    }

    .side-nav {
        width: 100%;
        height: 60px;
        line-height: 60px;
        position: relative;
        padding: 0 20px
    }

    .side-nav .logo img {
        height: 48px;
        margin-top: auto
    }

    .main-content,main {
        margin-left: 0;
        padding: 1rem
    }

    .nav-menu {
        display: none
    }

    .website-grid {
        grid-template-columns: 1fr
    }

    .mobile-nav {
        display: block
    }

    .mobile-nav-height {
        height: 88px
    }

    footer {
        margin-left: 0
    }
}

.detail {
    max-width: 1200px;
    margin: auto
}

.breadcrumb {
    padding-bottom: 20px
}

.breadcrumb ul {
    display: flex
}

.breadcrumb li {
    list-style: none
}

.breadcrumb li a {
    color: #4e4e4e
}

.breadcrumb li:after {
    content: ">";
    margin: 0 10px;
    color: #aaa;
    display: inline-block
}

.breadcrumb li:last-of-type:after {
    display: none
}

.detail .echo-link-info {
    display: flex;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px
}

.detail .echo-link-info .cover-image .cover-box {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10%;
    background-color: #fff;
    box-shadow: 0 30px 20px -20px rgba(0,0,0,.15);
    padding: 50px;
    position: relative
}

.detail .echo-link-info .cover-image .cover-box .hot-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 15px;
    font-size: .8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.detail .echo-link-info .cover-image .cover-box img {
    width: 100px
}

.detail .echo-link-info .right {
    flex: 1;
    padding-left: 50px
}

.detail .echo-link-info .right h2 {
    font-size: 32px;
    line-height: 1;
    color: var(--theme-color);
    text-shadow: 2px 2px 4px rgb(143 143 143 / 50%)
}

.detail .echo-link-info .right .badge {
    margin-right: 10px
}

.detail .echo-link-info .btn {
    font-size: 15px
}

.detail .echo-link-info .info-item,.echo-link-info .sort {
    white-space: nowrap;
    color: #637788;
    margin: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px
}

.detail .excerpt {
    margin-top: 14px;
    display: flex;
    align-items: center
}

.detail .excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 2
}

@media screen and (max-width: 960px) {
    .echo-link-info {
        flex-direction:column
    }

    .detail .echo-link-info .right {
        padding-left: 0;
        margin: 1em 0;
        text-align: center
    }

    .detail .echo-link-info .cover-image img {
        max-width: 100%;
        width: auto;
        border-radius: 10%
    }

    .detail .echo-link-info .cover-image .cover-box {
        text-align: center;
        box-shadow: none;
        border: none;
        padding: 0
    }

    .detail .info-item {
        display: block
    }
}

.detail .echo-log {
    display: flex
}

.detail .article {
    flex: 1;
    box-sizing: border-box;
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    margin-right: 20px
}

.detail .article-section {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px
}

.detail .article-section .keywords {
    margin-top: 30px
}

.detail .article-section .keywords a {
    display: inline-block;
    font-size: 14px;
    color: #686d7f;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    white-space: nowrap;
    color: #f78f8f;
    background: rgba(247,143,143,.06);
    border: 1px solid rgba(247,143,143,.06);
    padding: 2px 6px;
    margin-right: 5px;
    margin-bottom: 5px
}

.detail .article-section .keywords a:nth-child(2n) {
    color: #3385ff;
    background: rgba(33,150,243,.08);
    border: 1px solid rgba(33,150,243,.08)
}

.detail .article-section .keywords a:nth-child(3n) {
    background: rgba(66,189,86,.06);
    border: 1px solid rgba(66,189,86,.06);
    color: #42bd56
}

.detail .article-section .keywords a:nth-child(4n) {
    color: #89a0b4;
    background: rgba(137,160,180,.06);
    border: 1px solid rgba(137,160,180,.06)
}

.detail .article-section .keywords a:nth-child(5n) {
    color: #f78f8f;
    background: rgba(247,143,143,.06);
    border: 1px solid rgba(247,143,143,.06)
}

.detail .log-body {
    line-height: 2;
    font-size: 16px;
    word-break: break-word;
    color: #6b6b6b;
    margin-top: 20px
}

.detail .log-body .btn-box {
    padding: 30px 0;
    text-align: center;
    border: 2px dashed #ccc;
    margin: 1em 0
}

.detail .log-body img {
    max-width: 100%;
    height: auto;
    margin: 1em auto;
    display: block
}

.detail .btn {
    outline: 0;
    border: 1px solid #ced4da;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 3px rgba(5,122,255,.06);
    cursor: pointer
}

.detail .btn.btn-primary {
    background: var(--negative-theme-color);
    color: #fff;
    margin: 0 5px
}

.detail .btn.btn-warning {
    background: #fff;
    color: #292929;
    border-color: #dcdcdc;
    margin: 0 5px
}

.detail .log-body a.btn {
    text-decoration: none;
    font-size: 16px
}

.side-bar {
    width: 330px
}

.side-bar .widget {
    margin-bottom: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 6px
}

.side-bar .widget h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #6f6f6f;
    display: flex;
    align-items: center;
    gap: 10px
}

.side-bar .widget ul {
    padding: 0
}

.side-bar .widget-list-media li {
    margin-bottom: 10px;
    transition: all .3s
}

.side-bar .widget li {
    padding: 6px 0;
    list-style-type: none
}

.side-bar .widget-list-media li a {
    display: flex
}

.side-bar .widget-list-media .media-img.log_list_link {
    width: 63px;
    height: 63px;
    margin-right: 15px;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 5px;
    border-radius: 10%;
    box-shadow: 0 30px 20px -20px rgba(0,0,0,.15)
}

.side-bar .widget-list-media .media-img img {
    width: 100%
}

.side-bar .widget-list-media .media-content {
    flex: 1;
    display: inline-grid
}

.side-bar .widget-list-media h4 {
    margin-bottom: 10px;
    color: #6b6b6b;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.side-bar .widget-list-media .info {
    font-size: 14px;
    color: #adadad
}

.side-bar .widget-list-media .info .item {
    margin-right: 10px
}

.side-bar .widget-common ul {
    display: flex;
    flex-wrap: wrap
}

.side-bar .widget-common li {
    box-sizing: border-box;
    padding: 5px
}

.side-bar .widget-common a {
    padding: 7px 10px;
    height: 100%;
    box-sizing: border-box;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7d7d7d;
    display: flex;
    align-items: center;
    gap: 2px
}

.side-bar .widget-common a span {
    height: 16px
}

@media screen and (max-width: 960px) {
    .detail .echo-log {
        display:unset
    }

    .detail .article {
        margin-right: 0
    }

    .detail .side-bar {
        width: 100%
    }
}

.news {
    max-width: 1200px;
    margin: auto
}

.news .page-banner {
    padding: 40px 0;
    background-color: #007fff;
    text-align: center;
    color: #f0f8ff;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    background-image: url(../img/bg.jpg)
}

.news .page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgb(0 0 0 / .5)
}

.news .page-banner h1 {
    font-size: 32px;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 75%);
    position: relative;
    z-index: 99;
    margin-bottom: 30px
}

.news .search {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 9
}

.news .search .search-container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    position: relative
}

.news .search .search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: 0;
    transition: border-color .3s ease
}

.news .search .search-input:focus {
    border-color: #007bff
}

.news .search .search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color .3s ease
}

.news .search .search-button:hover {
    background-color: #0056b3
}

.news .article-list-page {
    padding: 40px 0;
    background-color: #f8f9fa
}

.news .search-bar {
    display: flex;
    margin-bottom: 30px
}

.news .search-bar input {
    flex-grow: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px
}

.news .search-bar button {
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color .3s ease
}

.news .search-bar button:hover {
    background-color: #0056b3
}

.news .content-wrapper {
    display: flex;
    gap: 30px
}

.news .article-list {
    width: 70%
}

.news .article-item {
    background-color: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform .3s ease,box-shadow .3s ease;
    padding: 20px
}

.news .article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,.15)
}

.news .article-item img {
    width: 238px;
    height: 158px;
    object-fit: cover;
    float: left;
    border-right: 1px solid #f2f3f3
}

.news .article-info {
    padding: 0 20px;
    flex-grow: 1;
    float: left;
    width: calc(100% - 238px)
}

.news .article-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.news .article-info h2 a {
    color: #333;
    text-decoration: none;
    transition: color .3s ease
}

.news .article-info h2 a:hover {
    color: #007bff
}

.news .article-info p {
    font-size: 16px;
    color: #929292;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 3;
    height: 73px
}

.news .article-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
    margin-bottom: 20px
}

.news .article-meta i {
    margin-right: 5px
}

.pagination {
    margin: 30px 0
}

.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center
}

.pagination-wrapper a,.pagination-wrapper span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333
}

.pagination-wrapper a:hover {
    background: #f5f5f5
}

.pagination-wrapper .disabled {
    color: #999;
    cursor: not-allowed
}

.page-stat {
    margin-left: 10px;
    color: #666
}

@media (max-width: 768px) {
    .pagination-wrapper {
        gap:4px;
        font-size: 14px
    }

    .pagination-wrapper a,.pagination-wrapper span {
        padding: 4px 8px
    }
}

.news .sidebar {
    width: 30%
}

.news .widget {
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px
}

.news .widget h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px
}

.news .widget ul {
    list-style-type: none;
    padding: 0
}

.news .widget ul li a {
    margin-bottom: 10px;
    background-color: #f5f7fa;
    padding: 15px;
    font-size: 16px
}

.news .widget ul li a {
    color: #333;
    text-decoration: none;
    display: block
}

.news .widget ul li a:hover {
    background-color: #dfebfb;
    color: #5f5f5f
}

.news .widget ul .active {
    background-color: #007bff;
    color: #fff
}

.news .widget.categories ul .active::before {
    background: #fff
}

.news .widget ul .active:hover {
    background-color: var(--theme-color);
    color: #fff
}

.news .widget.categories ul li a span {
    float: right;
    color: #888
}

.news .widget.categories ul li .active span {
    float: right;
    color: #cecece
}

.news .widget.categories ul li {
    position: relative
}

.news .widget.categories ul li a {
    padding-left: 30px;
    border-radius: 6px
}

.news .widget.categories ul li a::before {
    content: '';
    display: block;
    width: 8px;
    left: 10px;
    top: 13px;
    bottom: 13px;
    background: #007bff;
    border-radius: 8px;
    position: absolute
}

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

.news .tag-cloud a {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color .3s ease
}

.news .tag-cloud a:hover {
    background-color: #007bff;
    color: #fff
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction:column
    }

    .news .article-list {
        width: 100%
    }

    .news .sidebar {
        width: 100%
    }

    .news .article-item {
        flex-direction: column
    }

    .news .article-item img {
        width: 100%;
        height: auto
    }

    .news .article-info {
        width: 100%
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-80px)
    }
}

@keyframes enlarged {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: scale(1.2)
    }
}

@keyframes narrow {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: scale(.8)
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes colorChange {
    0% {
        color: red
    }

    100% {
        color: #00f
    }
}

@keyframes fadeInOut {
    0%,100% {
        opacity: 0
    }

    50% {
        opacity: 1
    }
}

.nav-cate .nav-container {
    margin-bottom: 20px
}

.nav-cate .desktop-nav {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: block
}

.nav-cate .menu-toggle {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 100;
    background: rgb(44 62 80 / 58%);
    border: none;
    border-radius: 8px;
    padding: .8rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,.2)
}

.nav-cate .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all .3s ease
}

.nav-cate .mobile-cate-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    width: 300px;
    background: #fff;
    z-index: 999;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding: 2rem;
    box-shadow: -4px 0 16px rgba(0,0,0,.1)
}

.nav-cate .mobile-cate-nav.active {
    transform: translateX(-300px)
}

.nav-cate .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.nav-cate .overlay.active {
    opacity: 1;
    visibility: visible
}

.nav-cate .nav-list {
    list-style: none;
    overflow: auto
}

.nav-cate .nav-item {
    position: relative;
    float: left
}

.nav-cate .nav-link {
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all .3s ease;
    align-items: center;
    margin: 6px;
    display: block
}

.nav-cate .nav-link:hover {
    background: #f1f3f5;
    color: #1864ab
}

.nav-cate .nav-link.active {
    color: #fff;
    background: var(--negative-theme-color)
}

.nav-cate .nav-link.active a {
    color: #fff
}

@media (max-width: 768px) {
    .nav-cate .desktop-nav {
        display:none
    }

    .nav-cate .nav-item {
        float: unset
    }

    .nav-cate .menu-toggle {
        display: block
    }

    .nav-cate .mobile-cate-nav .nav-list {
        overflow: auto;
        height: calc(100% - 80px);
        background-color: #f0f8ff;
        border-radius: 8px;
        padding: 10px
    }

    .nav-cate .mobile-cate-nav .nav-link {
        padding: 1rem;
        border-radius: 6px
    }

    .nav-cate .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #fff;
        background-color: #ff5722;
        border-radius: 100px;
        padding: unset;
        width: 24px;
        height: 24px
    }
}

.news .article-detail-page {
    background-color: #f8f9fa
}

.news .search-bar {
    display: flex;
    margin-bottom: 30px
}

.news .search-bar input {
    flex-grow: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px
}

.news .search-bar button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer
}

.news .article-content {
    display: flex;
    gap: 30px
}

.news .article-detail-list {
    width: 30%
}

.news .article-detail-list .li {
    background-color: #fff;
    border-radius: 6px;
    padding: 30px
}

.news .article-detail-list h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px
}

.news .article-detail-list ul {
    list-style-type: none;
    padding: 0
}

.news .article-detail-list li {
    margin-bottom: 15px
}

.news .article-detail-list a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color .3s ease
}

.news .article-detail-list a.active,.news .article-detail-list a:hover {
    color: #007bff
}

.news .article-detail {
    width: 70%;
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    height: fit-content
}

.news .article-detail h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px
}

.news .article-meta i {
    margin-right: 5px
}

.news .article-detail img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px
}

.news .article-detail p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333
}

.news .article-detail h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #333
}

@media (max-width: 768px) {
    .article-content {
        flex-direction:column
    }

    .article-detail-list,.news .article-detail {
        width: 100%
    }

    .news .article-detail-list {
        margin-bottom: 30px
    }
}

.login {
    background: rgba(255,255,255,.95);
    padding: 2.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    transition: all .3s ease;
    margin: auto
}

.login h2 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 24px;
    font-weight: 600
}

.login .form-group {
    margin-bottom: 1.5rem
}

.login label {
    display: block;
    color: #4a5568;
    margin-bottom: .5rem;
    font-size: .9rem;
    font-weight: 500
}

.login input {
    width: 100%;
    padding: .8rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color .3s ease
}

.login input:focus {
    outline: 0;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,.1)
}

.login button {
    width: 100%;
    padding: 1rem;
    background-color: var(--negative-theme-color);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease,opacity .2s ease
}

.login button:hover {
    transform: translateY(-2px);
    opacity: .95
}

.login .register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #718096
}

.login .register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s ease
}

.login .register-link a:hover {
    color: #764ba2
}

@media (max-width: 768px) {
    .login {
        margin:auto;
        margin-bottom: 30px
    }

    .login h2 {
        font-size: 1.75rem
    }

    .login input,button {
        padding: .7rem 1rem
    }
}

.adds {
    position: relative;
    max-width: 1200px;
    margin: auto
}

.adds .form-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgb(255 255 255);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    margin: auto
}

.adds .form-container h2 {
    margin-bottom: 30px;
    padding-left: 28px;
    position: relative;
    color: #252525;
    font-size: 18px
}

.adds .form-container h2::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: var(--negative-theme-color);
    border-radius: 8px;
    position: absolute;
    left: 0;
    top: calc(50% - 9px)
}

.adds .input-group {
    margin-bottom: 30px
}

.adds input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all .3s ease
}

.adds input:focus {
    border-color: #4a90e2;
    outline: 0;
    box-shadow: 0 0 8px rgba(74,144,226,.2)
}

.adds .captcha-box {
    display: flex;
    gap: 15px;
    margin: 25px 0
}

.adds .captcha-img {
    background: #fff;
    border-radius: 8px;
    text-align: center;
    width: 160px;
    border: 2px solid #e0e0e0
}

.adds .captcha-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer
}

.adds .submit-btn {
    padding: 10px 20px;
    background: var(--negative-theme-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s ease;
    margin-bottom: 30px;
    display: inline-block
}

.adds .form-container .desc {
    background-color: #f5f7fa;
    padding: 15px;
    padding-left: 30px;
    border-radius: 6px
}

.adds .form-container .desc li {
    list-style-type: disc;
    font-size: 16px;
    color: #faad14
}

@media (max-width: 768px) {
    .adds {
        min-height:calc(100vh - 170px)
    }
}

.friend-links-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px
}

.friend-links-container .module-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    gap: 10px
}

.friend-links-container .friend-links-list {
    padding: 10px;
    background-color: #f5f7fa;
    border-radius: 8px;
    overflow: auto
}

.friend-links-container .friend-link-item {
    padding: 15px 10px;
    background-color: #fff;
    border-radius: 8px;
    float: left;
    margin: 10px
}

.friend-links-container .friend-link-item:hover {
    background-color: #e1e7f1
}

.empty {
    text-align: center;
    padding: 50px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px
}

.empty img {
    width: 168px
}

.empty p {
    font-size: 18px;
    font-weight: 700;
    color: #89a5e0;
    margin-top: 30px
}

.search-framework {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center
}

.search-framework .form-container {
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px
}

.search-framework .search-form {
    position: relative;
    max-width: 600px;
    margin: auto
}

.search-framework .search-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.2em;
    border: 2px solid var(--negative-theme-color);
    border-radius: 50px;
    outline: 0;
    transition: all .3s ease;
    box-sizing: border-box
}

.search-framework .search-input:focus {
    box-shadow: 0 0 15px rgba(76,175,80,.3)
}

.search-framework .submit-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--negative-theme-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all .3s ease
}

.search-framework .submit-btn:hover {
    background: #1879fb;
    transform: translateY(-50%) scale(1.05)
}

.search-framework h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,.1)
}

.profile-card {
    background: rgba(255,255,255,.95);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    margin: auto
}

.profile-card h2 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px
}

.profile-card .form-group {
    margin-bottom: 25px
}

.profile-card label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 16px
}

.profile-card input,textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color .3s ease
}

.profile-card input:focus,textarea:focus {
    border-color: #667eea;
    outline: 0
}

.profile-card input[readonly] {
    background-color: #f7fafc;
    cursor: not-allowed
}

.profile-card .button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px
}

.profile-card button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease,opacity .2s ease
}

.profile-card .submit-btn {
    background: var(--negative-theme-color);
    color: #fff
}

.profile-card .logout-btn {
    background: #fc8181;
    color: #fff
}

.profile-card button:hover {
    transform: translateY(-2px);
    opacity: .9
}

.profile-card .hint {
    font-size: 12px;
    color: #718096;
    margin-top: 5px
}

.navbar {
    display: flex;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px
}

.navbar a {
    display: block;
    color: #212121;
    text-align: center;
    padding: 14px 40px;
    text-decoration: none;
    transition: background-color .3s
}

.navbar a:hover {
    background-color: #c7e8ff;
    color: var(--negative-theme-color)
}

.navbar a.active {
    background-color: var(--negative-theme-color);
    color: #fff
}

.userIndex .profile-header {
    background: linear-gradient(135deg,#667eea 0,#764ba2 100%);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    color: #fff
}

.userIndex .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: 15px
}

.userIndex .username {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px
}

.userIndex .bio {
    font-size: 14px;
    opacity: .9
}

.userIndex .menu-list {
    margin-top: 25px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 0
}

.userIndex .menu-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    transition: all .3s ease
}

.userIndex .menu-item .arrow {
    color: #909090;
    width: auto
}

.userIndex .menu-item:hover {
    background: #f8f9fa
}

.userIndex .menu-item i {
    width: 30px;
    font-size: 20px;
    color: #667eea
}

.userIndex .menu-item span {
    font-size: 16px;
    font-weight: 500
}

.userIndex .arrow {
    margin-left: auto;
    color: #999
}

.empty {
    text-align: center;
    padding: 50px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px
}

.empty img {
    width: 168px
}

.empty p {
    font-size: 18px;
    font-weight: 700;
    color: #89a5e0;
    margin-top: 30px
}

.pagination {
    margin: 30px 0
}

.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center
}

.pagination-wrapper a,.pagination-wrapper span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333
}

.pagination-wrapper a:hover {
    background: #f5f5f5
}

.pagination-wrapper .disabled {
    color: #999;
    cursor: not-allowed
}

.page-stat {
    margin-left: 10px;
    color: #666
}

@media (max-width: 768px) {
    .pagination-wrapper {
        gap:4px;
        font-size: 14px
    }

    .pagination-wrapper a,.pagination-wrapper span {
        padding: 4px 8px
    }
}

.yue-jilu {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 10px
}

.yue-jilu .balance-row {
    background-color: #f9f9f9;
    border-left: 4px solid #4caf50
}

.yue-jilu .balance-item {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px
}

.yue-jilu .balance-title {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.yue-jilu .amount {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    margin-right: 10px
}

.yue-jilu .income {
    color: #4caf50
}

.yue-jilu .expense {
    color: #ff5733
}

.yue-jilu .date {
    font-size: 14px;
    color: #666;
    text-align: right
}
