: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 {
    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: 130px;
}

.side-nav .nav-menu {
    margin-top: .5rem
}

.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 .btn.btn-green {
    background: #3aaf78;
    color: #fff;
    border-color: #dcdcdc;
    margin: 0 5px;
    border-radius: 30px;
    padding: 7px 15px;
}

.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;
    display: inline-block;
}

.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;
    display: inline-block;
    margin-right: 10px;
}

.news .widget.categories ul li a {
    border-radius: 6px;
    padding: 10px 20px;
}


.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
}

.items-start {
    align-items: flex-start
}

.items-end {
    align-items: flex-end
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-xs {
    font-size: .9rem;
    line-height: 1rem
}

.gap-1 {
    gap: .25rem
}

.block {
    display: block
}

.inline-block {
    display: inline-block
}

.\!flex {
    display: flex !important
}

.flex {
    display: flex
}

.inline-flex {
    display: inline-flex
}

.table {
    display: table
}

.grid {
    display: grid
}

.list-item {
    display: list-item
}

.\!hidden {
    display: none !important
}

.hidden {
    display: none
}

.my-5 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem
}

.z-\[1\] {
    z-index: 1;
}

.left-4 {
    left: 1rem;
}

.bottom-3 {
    bottom: .75rem;
}

.relative {
    position: relative;
}

.title-underline {
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-right: .25rem;
    position: relative
}

.vote-container {
    position: relative;
}

.vote-container .vote-main {
    height: 100%;
    width: 100%;
    position: relative;
}

.vote-container .vote-overlay {
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
}

.vote-container .vote-overlay {
    position: absolute;
    border-radius: 1.5rem;
    background-color: #f3f4f640;
    filter: blur(5px);
    /* 标准语法 */
    -webkit-filter: blur(5px);
    /* Safari/Chrome */
    -moz-filter: blur(5px);
    /* Firefox */
    -o-filter: blur(5px);
    /* Opera */
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='5');
    /* IE */
    z-index: 1;
}

.vote-container .div-overlay {
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.vote-container .vote-main .editor-statusbar {
    position: absolute;
    top: 10px;
    right: 5px;
    margin: 0;
}

/* 按钮容器：横向排列，间距统一 */
.comment-actions {
    padding: 0 10px;
    position: absolute;
    bottom: 5px;
    right: 4px;
    z-index: 1;
}

/* 上传图片按钮：幽灵按钮风格 */
.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-btn:hover {
    border-color: #409eff;
    color: #409eff;
    background: #f5f9ff;
}

.upload-btn .icon {
    font-size: 16px;
}

/* 发布评论按钮：填充按钮风格（强调核心操作） */
.submit-btn {
    padding: 8px 24px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #00b42a, #00a82d);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 180, 42, 0.2);
    transition: all 0.2s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00a82d, #00992a);
    box-shadow: 0 4px 8px rgba(0, 180, 42, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0, 180, 42, 0.2);
}

/* 隐藏原生文件上传框 */
#image-upload {
    display: none;
}


.comment-section {
    padding: 20px 0 0 0;
}

.comment-form {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-form span {
    margin-right: 10px;
}

.comment-form .emoji-icons {
    display: flex;
    gap: 5px;
}

.comment-form .emoji-icons img {
    width: 20px;
    height: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.comment-item .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
}

.comment-item .user-info {
    flex: 1;
}

.comment-item .user-info .username {
    font-weight: bold;
    margin: 0;
}

.comment-item .user-info .rating {
    margin: 5px 0;
}

.comment-item .user-info .comment {
    margin: 0;
}

.comment-item .user-info .actions {
    display: flex;
    gap: 10px;
}

.comment-item .user-info .actions span {
    cursor: pointer;
}

.comment-item .user-info .actions span:hover {
    text-decoration: underline;
}

.top-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-section .filter-selector-flat {
    padding-top:.25rem;
    padding-bottom: 1rem
}

.comment-section .filter-selector-flat .filter-button:not(.active) {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1))
}

.comment-section .filter-selector-flat .filter-button:not(.active):hover {
    --p-primary-400: #42C487;
    color: color-mix(in srgb,var(--p-primary-400) 75%,transparent)
}

.comment-section .filter-selector-flat .filter-button.active {
    font-weight: 600;
    --tw-text-opacity: 1;
    --p-primary-400: #42C487;
    color: color-mix(in srgb,var(--p-primary-400) calc(100% * var(--tw-text-opacity, 1)),transparent);
    position: relative
}

.comment-section .filter-selector-flat .filter-button.active:before {
    content: "Â·";
    --tw-text-opacity: 1;
    --p-primary-200:#53F2A7;
    color: color-mix(in srgb,var(--p-primary-200) calc(100% * var(--tw-text-opacity, 1)),transparent);
    position: absolute;
    left: -.5rem;
    display: none
}

.filter-selector-flat {
    display: flex;
    overflow-x: auto
}

@media (min-width: 768px) {
    .filter-selector-flat {
        flex-wrap:wrap
    }
}

.filter-selector-flat {
    -moz-column-gap: .625rem;
    column-gap: .625rem
}

@media (min-width: 768px) {
    .filter-selector-flat {
        -moz-column-gap:1rem;
        column-gap: 1rem;
        row-gap: .25rem
    }
}

.filter-selector-flat .filter-button {
    flex-shrink: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-size: 1rem;
    line-height: 1.5rem;
    transition-duration: .3s
}

@media (min-width: 768px) {
    .filter-selector-flat .filter-button {
        padding-top:.25rem;
        padding-bottom: .25rem
    }
}

@media (min-width: 768px) {
    .filter-selector-flat .filter-button.active:before {
        display:block
    }
}


.feed-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.feed-item-head .feed-item-meta {
    display: flex
}

.feed-item-head .feed-item-meta .meta-avatar {
    flex-shrink: 0;
    border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1))
}

.feed-item-head .feed-item-meta .meta-avatar img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.feed-item-head .feed-item-meta .meta-content {
    display: flex;
    flex-direction: column
}

.feed-item-head .feed-item-meta .meta-content .display-name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-weight: 600
}

.feed-item-head .feed-item-meta .meta-content .display-name.popup {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.feed-item-head .feed-item-meta .meta-content .display-name.popup:hover {
    text-decoration-line: underline
}

.feed-item-head .feed-item-meta .meta-content .tags {
    font-size: .625rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end
}

.feed-item-head .feed-item-meta .meta-content .tags .tiny-tag {
    border-radius: .25rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: color-mix(in srgb,var(--p-primary-500) calc(100% * var(--tw-border-opacity, 1)),transparent)
}

.feed-item-head .feed-item-meta .meta-content .publish-time {
    font-weight: 400;
    color: #6b7280bf
}

.feed-item-head .feed-item-meta.tiny .meta-content {
    margin-left: .25rem;
    flex-direction: row;
    align-items: center;
    gap: .5rem
}

.feed-item-head .feed-item-meta.tiny .meta-avatar {
    height: 1.25rem;
    width: 1.25rem
}

.feed-item-head .feed-item-meta.tiny .display-name,.feed-item-head .feed-item-meta.tiny .to {
    font-size: .75rem;
    line-height: 1rem
}

.feed-item-head .feed-item-meta.tiny .tags {
    gap: .125rem
}

.feed-item-head .feed-item-meta.tiny .tags .tag {
    font-size: .625rem!important;
    padding-top: 1px!important;
    padding-bottom: 1px!important
}

.feed-item-head .feed-item-meta.tiny .tags .tiny-tag {
    padding-left: .25rem;
    padding-right: .25rem
}

.feed-item-head .feed-item-meta.tiny .publish-time {
    font-size: .5rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.tiny .publish-time {
        font-size:.625rem
    }
}

.feed-item-head .feed-item-meta.small .meta-content {
    margin-left: .25rem
}

.feed-item-head .feed-item-meta.small .meta-avatar {
    height: 1.5rem;
    width: 1.5rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.small .meta-avatar {
        height:1.75rem;
        width: 1.75rem
    }
}

.feed-item-head .feed-item-meta.small .display-name,.feed-item-head .feed-item-meta.small .to {
    font-size: .625rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.small .display-name,.feed-item-head .feed-item-meta.small .to {
        font-size:.75rem;
        line-height: 1rem
    }
}

.feed-item-head .feed-item-meta.small .tags {
    gap: .125rem
}

.feed-item-head .feed-item-meta.small .tags .tag {
    font-size: .625rem!important;
    padding-top: 1px!important;
    padding-bottom: 1px!important
}

.feed-item-head .feed-item-meta.small .tags .tiny-tag {
    padding-left: .25rem;
    padding-right: .25rem
}

.feed-item-head .feed-item-meta.small .publish-time {
    font-size: .5rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.small .publish-time {
        font-size:.625rem
    }
}

.feed-item-head .feed-item-meta.base .meta-content {
    margin-left: .75rem
}

.feed-item-head .feed-item-meta.base .meta-avatar {
    height: 2rem;
    width: 2rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.base .meta-avatar {
        height:2.5rem;
        width: 2.5rem
    }
}

.feed-item-head .feed-item-meta.base .display-name,.feed-item-head .feed-item-meta.base .to {
    font-size: .75rem;
    line-height: 1rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.base .display-name,.feed-item-head .feed-item-meta.base .to {
        font-size:.875rem;
        line-height: 1.25rem
    }
}

.feed-item-head .feed-item-meta.base .tags {
    gap: .125rem
}

.feed-item-head .feed-item-meta.base .tags .tag {
    font-size: .625rem!important;
    padding-top: 1.5px!important;
    padding-bottom: 1.5px!important
}

.feed-item-head .feed-item-meta.base .tags .tiny-tag {
    padding-left: .25rem;
    padding-right: .25rem
}

.feed-item-head .feed-item-meta.base .publish-time {
    font-size: .625rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.base .publish-time {
        font-size:.75rem
    }
}

.feed-item-head .feed-item-meta.large .meta-content {
    margin-left: .5rem
}

.feed-item-head .feed-item-meta.large .meta-avatar {
    height: 2rem;
    width: 2rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.large .meta-avatar {
        height:2.5rem;
        width: 2.5rem
    }
}

.feed-item-head .feed-item-meta.large .display-name,.feed-item-head .feed-item-meta.large .to {
    font-size: .875rem;
    line-height: 1.25rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.large .display-name,.feed-item-head .feed-item-meta.large .to {
        font-size:1rem;
        line-height: 1.5rem
    }
}

.feed-item-head .feed-item-meta.large .tags {
    gap: .25rem
}

.feed-item-head .feed-item-meta.large .tags .tag {
    font-size: .75rem!important;
    padding-top: 1.5px!important;
    padding-bottom: 1.5px!important
}

.feed-item-head .feed-item-meta.large .tags .tiny-tag {
    padding-left: .25rem;
    padding-right: .25rem
}

.feed-item-head .feed-item-meta.large .publish-time {
    font-size: .75rem
}

@media (min-width: 768px) {
    .feed-item-head .feed-item-meta.large .publish-time {
        font-size:.875rem;
        line-height: 1.25rem
    }
}

.feed-item-head .feed-item-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.review-flat .content {
    display: contents;
    padding-left: 2rem
}

.review-flat .bottom {
    position: relative
}

.tippy-box[data-theme=none] {
    background-color: inherit;
    color: inherit;
    border: none;
    box-shadow: none;
    font-size: inherit;
    padding: 0;
    border-radius: 0
}

.tippy-box[data-theme=none] .tippy-arrow,.tippy-box[data-theme=none] .tippy-content {
    all: inherit
}

.tippy-box[data-theme=none] .tippy-arrow {
    display: none
}

.richtext-editor-dropdown-menu {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity, 1));
    border-radius: .125rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    position: relative;
    overflow-y: auto;
    padding: .5rem
}

.richtext-editor-dropdown-menu .result-item {
    cursor: pointer;
    border-radius: .25rem;
    padding: .5rem .75rem
}

.richtext-editor-dropdown-menu .result-item:hover,.richtext-editor-dropdown-menu .result-item.active {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
}

.richtext-editor-dropdown-menu .result-item.disabled {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
    opacity: .5;
    cursor: not-allowed
}

.richtext-editor-dropdown-menu .result-item .inner {
    display: flex;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    align-items: center
}

.richtext-editor-dropdown-menu .result-item .logo {
    margin-right: .5rem;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0
}

.richtext-editor-dropdown-menu .result-item .logo img {
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    -o-object-fit: cover;
    object-fit: cover
}

.richtext-editor-dropdown-menu .result-item .logo div {
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1))
}

.richtext-editor-dropdown-menu .result-item .content {
    min-width: 0px;
    flex: 1 1 0%
}

.richtext-editor-dropdown-menu .result-item .content .name {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity, 1))
}

.richtext-editor-dropdown-menu .result-item .content .name:is(dark *) {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1))
}

.richtext-editor-dropdown-menu .result-item .content .description {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1))
}

.richtext-editor-dropdown-menu .result-item .content .description:is(dark *) {
    color: #fffc
}

.shortcut-tooltip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    line-height: 1rem
}

.shortcut-tooltip b {
    font-weight: 700!important
}

.richtext-editor-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #ffffff80;
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    z-index: 39
}

.richtext-editor {
    position: relative;
    transition-property: all;
    transition-duration: .15s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    font-size: .75rem;
    line-height: 1rem
}

@media (min-width: 768px) {
    .richtext-editor {
        font-size:.875rem;
        line-height: 1.25rem
    }
}

.richtext-editor.fullscreen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-width: 48rem;
    flex-direction: column;
    z-index: 40;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    margin: auto;
    height: 100%
}

@media (min-width: 768px) {
    .richtext-editor.fullscreen {
        height:600px!important
    }
}

.richtext-editor.fullscreen {
    border-style: none!important
}

@media (min-width: 768px) {
    .richtext-editor.fullscreen {
        border-width:1px!important
    }
}

.richtext-editor .toolbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom-width: 1px
}

@media (min-width: 768px) {
    .richtext-editor .toolbar {
        flex-direction:row;
        align-items: center
    }
}

.richtext-editor .toolbar {
    padding: .25rem .5rem .125rem
}

.richtext-editor .toolbar .right-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: flex-end
}

.richtext-editor .character-count {
    margin-left: .75rem;
    flex-shrink: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-size: .5rem;
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1))
}

@media (min-width: 768px) {
    .richtext-editor .character-count {
        font-size:.75rem;
        line-height: 1rem
    }
}

.richtext-editor .p-tiptap :focus {
    outline-offset: 2px;
    outline: 2px solid transparent
}

.richtext-editor .tiptap {
    letter-spacing: .015rem
}

.richtext-editor .tiptap h1 {
    line-height: 1.1;
    text-wrap: pretty;
    margin-bottom: .5rem;
    font-size: 1.1rem;
    font-weight: 800
}

.richtext-editor .tiptap h1:not(:first-child) {
    margin-top: 1rem
}

.richtext-editor .tiptap p.is-editor-empty:first-child:before {
    color: #adb5bd;
    content: attr(data-placeholder);
    float: left;
    font-style: italic;
    height: 0;
    pointer-events: none
}

.richtext-editor .tiptap p {
    line-height: 1.5;
    text-wrap: pretty;
    margin-bottom: .25rem
}

.richtext-editor .tiptap p strong {
    font-weight: 600
}

.richtext-editor .tiptap ul,.richtext-editor .tiptap ol {
    padding: 0 1rem;
    margin: 1rem 0 .75rem .4rem
}

.richtext-editor .tiptap ul {
    list-style-type: disc
}

.richtext-editor .tiptap ol {
    list-style-type: decimal
}

.richtext-editor .tiptap a:not(.mention):not(.topic) {
    color: color-mix(in srgb,var(--p-primary-500) 75%,transparent);
    text-decoration-line: underline;
    text-underline-offset: 2px;
    transition-duration: .3s
}

.richtext-editor .tiptap a:not(.mention):not(.topic):hover {
    --tw-text-opacity: 1;
    color: color-mix(in srgb,var(--p-primary-500) calc(100% * var(--tw-text-opacity, 1)),transparent)
}

.richtext-editor .tiptap .mention {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    --tw-text-opacity: 1;
    color: color-mix(in srgb,var(--p-primary-500) calc(100% * var(--tw-text-opacity, 1)),transparent);
    transition-duration: .3s
}

.richtext-editor .tiptap .mention:hover {
    background-color: color-mix(in srgb,var(--p-primary-100) 75%,transparent)
}

.richtext-editor .tiptap .mention {
    padding-left: .25rem;
    padding-right: .25rem;
    border-radius: .5rem
}

.richtext-editor .tiptap .topic {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    --tw-text-opacity: 1;
    color: color-mix(in srgb,var(--p-primary-500) calc(100% * var(--tw-text-opacity, 1)),transparent);
    transition-duration: .3s
}

.richtext-editor .tiptap .topic:hover {
    color: color-mix(in srgb,var(--p-primary-600) 75%,transparent)
}

.richtext-editor .tiptap code {
    border-radius: .25rem;
    background-color: #e5e7ebbf;
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity, 1));
    padding: .125rem .375rem;
    font-size: 90%
}

.richtext-editor .tiptap blockquote {
    border-left-width: 4px;
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
    background-color: #f3f4f680;
    font-size: .875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    margin: 1rem 0;
    padding: .25rem .25rem .25rem .5rem
}

.richtext-editor .tiptap mark {
    background-color: #faf594;
    border-radius: .3rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: .1rem .3rem;
    font-size: 95%;
    --tw-text-opacity: 1 !important;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1))!important
}

.richtext-editor .editor-content {
    transition: min-height .3s cubic-bezier(.4,0,.2,1)
}

.richtext-editor .send {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    padding-right: 1rem;
    padding-bottom: .75rem
}

.p-button-text {
    background: transparent;
    border-color: transparent;
    color: #3AAF78;
}

.p-button-text:not(:disabled):hover {
    background: #D3FDE4;
    border-color: transparent;
    color: #3AAF78;
}

.p-button {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /* color: #ffffff;
    background: #3AAF78;
    border: 1px solid #3AAF78; */
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    font-feature-settings: inherit;
    transition: background 0.2s, color 0.2s, border-color 0.2s, outline-color 0.2s, box-shadow 0.2s;
    border-radius: 20px;
    outline-color: transparent;
    gap: 0.5rem;
}