* {
    margin: 0;
    outline: 0padding:0;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    list-style-type: none;
}

body {
    background: var(--c-card);
    line-height: 1.6;
    color: var(--c-text);
}

article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--c-card);
    border-radius: var(--radius)}

article h1 {
    font-size: 2.5rem;
    color: var(--c-text);
    margin-bottom: 20px;
    text-align: center;
}

article p {
    margin-bottom: 20px;
    text-align: justify;
}

article pre {
    background-color: var(--c-page);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 20px;
}

article code {
    font-family: 'Courier New',Courier,monospace;
    font-size: .9rem;
    color: var(--c-primary);
    background-color: var(--c-card);
    padding: 2px 4px;
    border-radius: var(--radius)}

article pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
}

article blockquote {
    border-left: var(--border-w) solid var(--c-border);
    background-color: var(--c-card);
    padding: 15px;
    margin: 0 0 20px;
    font-style: italic;
    color: var(--c-subtext);
}

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: var(--c-card);
    border-radius: var(--radius)}

.side-nav {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--c-primary);
    padding: 2rem 1rem;
    overflow-y: auto;
}

.side-nav .logo img {
    height: 60px;
    margin-top: 10px;
}

.side-nav .nav-menu {
    margin-top: 2rem;
}

.side-nav .nav-category {
    color: var(--c-subtext);
    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: var(--c-fg-invert);
    text-decoration: none;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    transition: all .3s;
    margin: .3rem 0;
}

.side-nav .nav-links li a:hover {
    background: var(--c-link);
    color: var(--c-fg-invert);
}

.side-nav .nav-links li .active {
    background: var(--c-link);
    color: var(--c-fg-invert);
}

.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(--c-link);
    padding: 50px 20px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.search-page .floating1 {
    width: 200px;
    height: 200px;
    position: absolute;
    background-color: var(--c-card);
    border-radius: 50%;
    transform: rotate(45deg);
    top: -60px;
    left: -60px;
}

.search-page .floating2 {
    width: 120px;
    height: 120px;
    position: absolute;
    background-color: var(--c-card);
    border-radius: 50%;
    transform: rotate(60deg);
    top: -15px;
    left: 46%;
}

.search-page .floating3 {
    width: 500px;
    height: 500px;
    position: absolute;
    background-color: var(--c-card);
    border-radius: 50%;
    right: -300px;
    bottom: -300px;
}

.search-page .floating4 {
    width: 100px;
    height: 100px;
    position: absolute;
    background-color: var(--c-card);
    border-radius: 50%;
    right: 10%;
    bottom: 50px;
}

.search-page img {
    text-align: center;
    width: 300px;
}

.search-page .search-header {
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 32px;
    color: var(--c-fg-invert);
    position: relative;
    z-index: 9;
}

.search-page .search-engine {
    color: var(--c-subtext);
    margin-bottom: 20px;
    position: relative;
    z-index: 9;
}

.search-page .search-engine li {
    display: inline-block;
    border-bottom: var(--border-w) solid transparent;
    padding: 4px 8px;
    font-size: 14px;
}

.search-page .search-engine li.active,.search-page .search-engine li:hover {
    cursor: pointer;
    border-bottom-color: var(--c-border);
    background: var(--c-card);
    color: var(--c-text);
    border-radius: var(--radius)}

.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: var(--border-w) solid var(--c-border);
    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(--c-primary);
    color: var(--c-fg-invert);
    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: var(--c-subtext);
    display: inline-block;
    margin-right: 15px;
    font-size: 13px;
    margin-bottom: 10px;
}

.search-page .tags a {
    background: var(--c-card);
    padding: 6px 12px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    min-width: 50px;
    display: inline-block;
    text-align: center;
    color: var(--c-primary);
    font-size: 14px;
}

.search-page .tags a span {
    margin-right: 4px;
}

.search-page .tags a:hover {
    background: var(--c-card);
}

.side-menu {
    padding: 20px 0;
    top: 0;
    overflow-y: auto;
    display: flex;
    width: auto;
    flex-wrap: wrap;
    z-index: 999;
    background: var(--c-page);
    margin-bottom: 20px;
}

.side-menu li {
    list-style: none;
    padding: 5px;
}

.side-menu a {
    transition: all .3s;
    cursor: pointer;
    border-radius: var(--radius);
    padding: 6px 10px;
    border: var(--border-w) solid var(--c-border);
    display: block;
    font-size: 14px;
    color: var(--c-text);
}

.side-menu li.active a {
    background: var(--c-link);
    color: var(--c-fg-invert);
    border-color: var(--c-border);
}

.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: var(--border-w) solid currentColor;
    border-right: var(--border-w) solid currentColor;
    transform: rotate(45deg);
}

.category-section .category-title {
    font-size: 20px;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-section .category-title img {
    color: var(--c-link);
    height: 24px;
}

.category-section .category-header .more {
    font-size: 14px;
    color: var(--c-primary);
}

.category-section .category-header .more::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    border-top: var(--border-w) solid currentColor;
    border-right: var(--border-w) 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: var(--c-card);
    padding: 1.5rem;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    transition: transform .3s;
    cursor: pointer;
    position: relative;
}

.category-section .website-card:hover {
    transform: translateY(-3px);
}

.category-section .website-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.2rem;
    border-radius: 10%;
}

.category-section .website-info {
    flex: 1;
    overflow: auto;
}

.category-section .website-name {
    color: var(--c-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-section .website-desc {
    color: var(--c-subtext);
    font-size: .9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
}

.category-section .hot-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--c-primary);
    color: var(--c-fg-invert);
    padding: .3rem .8rem;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: .8rem;
}

.category-section .website-card .access {
    display: none;
}

.category-section .website-card:hover .access {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-section .website-card .access a:nth-child(1) {
    background-color: var(--c-primary);
}

.category-section .website-card .access a {
    transform: translateY(-3px);
    background-color: var(--c-link);
    color: var(--c-fg-invert);
    margin: 10px;
    padding: 6px 15px;
    border-radius: var(--radius)}

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--c-card);
    padding: 15px;
    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: var(--c-subtext);
    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: var(--c-card);
    width: 48px;
    height: 48px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
}

.mobile-nav .nav-add {
    margin-top: 30px;
}

footer {
    text-align: center;
    margin-top: 20px;
    margin-left: 280px;
}

footer .layout-container {
    color: var(--c-subtext);
    margin-bottom: 10px;
}

footer .layout-container a {
    color: var(--c-subtext);
}

@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: var(--c-subtext);
}

.breadcrumb li:after {
    content: ">";
    margin: 0 10px;
    color: var(--c-subtext);
    display: inline-block;
}

.breadcrumb li:last-of-type:after {
    display: none;
}

.detail .echo-link-info {
    display: flex;
    border-bottom: var(--border-w) dashed var(--c-border);
    padding-bottom: 20px;
}

.detail .echo-link-info .cover-image .cover-box {
    width: 100%;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    background-color: var(--c-card);
    padding: 50px;
    position: relative;
}

.detail .echo-link-info .cover-image .cover-box .hot-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--c-primary);
    color: var(--c-fg-invert);
    padding: .3rem .8rem;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: .8rem;
}

.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(--c-primary);
}

.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: var(--c-subtext);
    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;
}

@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: var(--radius)}

    .detail .echo-link-info .cover-image .cover-box {
        text-align: center;
        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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-right: 20px;
}

.detail .article-section {
    background: var(--c-card);
    padding: 20px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.detail .article-section .keywords {
    margin-top: 30px;
}

.detail .article-section .keywords a {
    display: inline-block;
    font-size: 14px;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    white-space: nowrap;
    color: var(--c-primary);
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    padding: 2px 6px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.detail .article-section .keywords a:nth-child(2n) {
    color: var(--c-link);
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
}

.detail .article-section .keywords a:nth-child(3n) {
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    color: var(--c-primary);
}

.detail .article-section .keywords a:nth-child(4n) {
    color: var(--c-subtext);
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
}

.detail .article-section .keywords a:nth-child(5n) {
    color: var(--c-primary);
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
}

.detail .log-body {
    line-height: 2;
    font-size: 16px;
    word-break: break-word;
    color: var(--c-subtext);
    margin-top: 20px;
}

.detail .log-body .btn-box {
    padding: 30px 0;
    text-align: center;
    border: var(--border-w) dashed var(--c-border);
    margin: 1em 0;
}

.detail .log-body img {
    max-width: 100%;
    height: auto;
    margin: 1em auto;
    display: block;
}

.detail .btn {
    outline: 0;
    border: var(--border-w) solid var(--c-border);
    background: var(--c-card);
    padding: 10px 15px;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--c-text);
}

.detail .btn.btn-primary {
    background: var(--c-link);
    color: var(--c-fg-invert);
    margin: 0 5px;
}

.detail .btn.btn-warning {
    background: var(--c-card);
    color: var(--c-text);
    border-color: var(--c-border);
    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: var(--c-card);
    padding: 20px;
    border-radius: var(--radius)}

.side-bar .widget h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--c-subtext);
    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: var(--border-w) solid var(--c-border);
    background-color: var(--c-card);
    padding: 5px;
    border-radius: 10%;
}

.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: var(--c-subtext);
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-bar .widget-list-media .info {
    font-size: 14px;
    color: var(--c-subtext);
}

.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: var(--c-card);
    justify-content: space-between;
    font-size: 14px;
    color: var(--c-subtext);
    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: var(--c-link);
    text-align: center;
    color: var(--c-fg-invert);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    background-image: url(../img/bg.jpg);
}

.news .page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.news .page-banner h1 {
    font-size: 32px;
    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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    outline: 0;
    transition: border-color .3s ease;
}

.news .search .search-input:focus {
    border-color: var(--c-border);
}

.news .search .search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--c-link);
    color: var(--c-fg-invert);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color .3s ease;
}

.news .search .search-button:hover {
    background-color: var(--c-link);
}

.news .article-list-page {
    padding: 40px 0;
    background-color: var(--c-card);
}

.news .search-bar {
    display: flex;
    margin-bottom: 30px;
}

.news .search-bar input {
    flex-grow: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: var(--border-w) solid var(--c-border);
    border-right: none;
    border-radius: 5px 0 0 5px}

.news .search-bar button {
    padding: 12px 20px;
    background-color: var(--c-link);
    color: var(--c-fg-invert);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color .3s ease;
}

.news .search-bar button:hover {
    background-color: var(--c-link);
}

.news .content-wrapper {
    display: flex;
    gap: 30px;
}

.news .article-list {
    width: 70%;
}

.news .article-item {
    background-color: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform .3s ease;
    padding: 20px;
}

.news .article-item:hover {
    transform: translateY(-5px);
}

.news .article-item img {
    width: 238px;
    height: 158px;
    object-fit: cover;
    float: left;
    border-right: var(--border-w) solid var(--c-border);
}

.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: var(--c-text);
    text-decoration: none;
    transition: color .3s ease;
}

.news .article-info h2 a:hover {
    color: var(--c-primary);
}

.news .article-info p {
    font-size: 16px;
    color: var(--c-subtext);
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 73px;
}

.news .article-meta {
    display: flex;
    gap: 20px;
    color: var(--c-subtext);
    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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-text);
}

.pagination-wrapper a:hover {
    background: var(--c-card);
}

.pagination-wrapper .disabled {
    color: var(--c-subtext);
    cursor: not-allowed;
}

.page-stat {
    margin-left: 10px;
    color: var(--c-subtext);
}

@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: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.news .widget h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--c-text);
    border-bottom: var(--border-w) solid var(--c-border);
    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: var(--c-card);
    padding: 15px;
    font-size: 16px;
}

.news .widget ul li a {
    color: var(--c-text);
    text-decoration: none;
    display: block;
}

.news .widget ul li a:hover {
    background-color: var(--c-card);
    color: var(--c-subtext);
}

.news .widget ul .active {
    background-color: var(--c-link);
    color: var(--c-fg-invert);
}

.news .widget.categories ul .active::before {
    background: var(--c-card);
}

.news .widget ul .active:hover {
    background-color: var(--c-primary);
    color: var(--c-fg-invert);
}

.news .widget.categories ul li a span {
    float: right;
    color: var(--c-subtext);
}

.news .widget.categories ul li .active span {
    float: right;
    color: var(--c-subtext);
}

.news .widget.categories ul li {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.news .widget.categories ul li a {
  border: var(--border-w) solid var(--c-border);
  border-radius: var(--radius);
  padding: 10px 20px;
}

 
.news .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news .tag-cloud a {
    background-color: var(--c-card);
    color: var(--c-text);
    padding: 5px 10px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: 14px;
    text-decoration: none;
    transition: background-color .3s ease;
}

.news .tag-cloud a:hover {
    background-color: var(--c-link);
    color: var(--c-fg-invert);
}

@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: var(--c-link);
    }
}

@keyframes fadeInOut {
    0%,100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.nav-cate .nav-container {
    margin-bottom: 20px;
}

.nav-cate .desktop-nav {
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 1rem;
    display: block;
}

.nav-cate .menu-toggle {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 100;
    border: none;
    border-radius: var(--radius);
    padding: .8rem;
    cursor: pointer;
}

.nav-cate .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-card);
    margin: 5px 0;
    transition: all .3s ease;
}

.nav-cate .mobile-cate-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    width: 300px;
    background: var(--c-card);
    z-index: 999;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding: 2rem;
}

.nav-cate .mobile-cate-nav.active {
    transform: translateX(-300px);
}

.nav-cate .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    transition: all .3s ease;
    align-items: center;
    margin: 6px;
    display: block;
}

.nav-cate .nav-link:hover {
    background: var(--c-card);
    color: var(--c-link);
}

.nav-cate .nav-link.active {
    color: var(--c-fg-invert);
    background: var(--c-link);
}

.nav-cate .nav-link.active a {
    color: var(--c-fg-invert);
}

@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: var(--c-fg-invert);
        border: var(--border-w) solid var(--c-border);
        border-radius: var(--radius);
        padding: 10px;
    }

    .nav-cate .mobile-cate-nav .nav-link {
        padding: 1rem;
        border-radius: var(--radius)}

    .nav-cate .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: var(--c-fg-invert);
        background-color: var(--c-primary);
        border-radius: var(--radius);
        padding: unset;
        width: 24px;
        height: 24px;
    }
}

.news .article-detail-page {
    background-color: var(--c-card);
}

.news .search-bar {
    display: flex;
    margin-bottom: 30px;
}

.news .search-bar input {
    flex-grow: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: var(--border-w) solid var(--c-border);
    border-right: none;
    border-radius: 5px 0 0 5px}

.news .search-bar button {
    padding: 10px 20px;
    background-color: var(--c-link);
    color: var(--c-fg-invert);
    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: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 30px;
}

.news .article-detail-list h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--c-text);
    border-bottom: var(--border-w) solid var(--c-border);
    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: var(--c-text);
    text-decoration: none;
    font-size: 16px;
    transition: color .3s ease;
}

.news .article-detail-list a.active,.news .article-detail-list a:hover {
    color: var(--c-link);
}

.news .article-detail {
    width: 70%;
    background-color: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 30px;
    height: fit-content;
}

.news .article-detail h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--c-text);
    border-bottom: var(--border-w) solid var(--c-border);
    padding-bottom: 10px;
}

.news .article-meta i {
    margin-right: 5px;
}

.news .article-detail img {
    width: 100%;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.news .article-detail p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--c-text);
}

.news .article-detail h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: var(--c-text);
}

@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: var(--c-card);
    padding: 2.5rem;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 450px;
    transition: all .3s ease;
    margin: auto;
}

.login h2 {
    color: var(--c-text);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 24px;
    font-weight: 600;
}

.login .form-group {
    margin-bottom: 1.5rem;
}

.login label {
    display: block;
    color: var(--c-subtext);
    margin-bottom: .5rem;
    font-size: .9rem;
    font-weight: 500;
}

.login input {
    width: 100%;
    padding: .8rem 1.2rem;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color .3s ease;
}

.login input:focus {
    outline: 0;
    border-color: var(--c-border);
}

.login button {
    width: 100%;
    padding: 1rem;
    background-color: var(--c-link);
    border: none;
    border-radius: var(--radius);
    color: var(--c-fg-invert);
    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: var(--c-subtext);
}

.login .register-link a {
    color: var(--c-link);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s ease;
}

.login .register-link a:hover {
    color: var(--c-link);
}

@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: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    margin: auto;
}

.adds .form-container h2 {
    margin-bottom: 30px;
    padding-left: 28px;
    position: relative;
    color: var(--c-text);
    font-size: 18px;
}

.adds .form-container h2::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: var(--c-link);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    position: absolute;
    left: 0;
    top: calc(50% - 9px);
}

.adds .input-group {
    margin-bottom: 30px;
}

.adds input {
    width: 100%;
    padding: 15px 20px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: all .3s ease;
}

.adds input:focus {
    border-color: var(--c-border);
    outline: 0;
}

.adds .captcha-box {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.adds .captcha-img {
    background: var(--c-card);
    border-radius: var(--radius);
    text-align: center;
    width: 160px;
    border: var(--border-w) solid var(--c-border);
}

.adds .captcha-img img {
    width: 100%;
    height: 100%;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    cursor: pointer;
}

.adds .submit-btn {
    padding: 10px 20px;
    background: var(--c-link);
    color: var(--c-fg-invert);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    transition: all .3s ease;
    margin-bottom: 30px;
    display: inline-block;
}

.adds .form-container .desc {
    background-color: var(--c-card);
    padding: 15px;
    padding-left: 30px;
    border-radius: var(--radius)}

.adds .form-container .desc li {
    list-style-type: disc;
    font-size: 16px;
    color: var(--c-primary);
}

@media (max-width: 768px) {
    .adds {
        min-height: calc(100vh - 170px);
    }
}

.friend-links-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--c-card);
    border-radius: var(--radius)}

.friend-links-container .module-title {
    font-size: 20px;
    color: var(--c-text);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.friend-links-container .friend-links-list {
    padding: 10px;
    background-color: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    overflow: auto;
}

.friend-links-container .friend-link-item {
    padding: 15px 10px;
    background-color: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    float: left;
    margin: 10px;
}

.friend-links-container .friend-link-item:hover {
    background-color: var(--c-card);
}

.empty {
    text-align: center;
    padding: 50px;
    margin: auto;
    background-color: var(--c-card);
    border-radius: var(--radius)}

.empty img {
    width: 168px;
}

.empty p {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-link);
    margin-top: 30px;
}

.search-framework {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-framework .form-container {
    padding: 20px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    outline: 0;
    transition: all .3s ease;
    box-sizing: border-box;
}

.search-framework .search-input:focus {
}

.search-framework .submit-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-link);
    color: var(--c-fg-invert);
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1em;
    transition: all .3s ease;
}

.search-framework .submit-btn:hover {
    background: var(--c-link);
    transform: translateY(-50%) scale(1.05);
}

.search-framework h2 {
    color: var(--c-text);
    margin-bottom: 30px;
    font-size: 2em;
}

.profile-card {
    background: var(--c-card);
    padding: 40px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    width: 100%;
    margin: auto;
}

.profile-card h2 {
    color: var(--c-text);
    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: var(--c-subtext);
    font-size: 16px;
}

.profile-card input,textarea {
    width: 100%;
    padding: 12px 15px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color .3s ease;
}

.profile-card input:focus,textarea:focus {
    border-color: var(--c-border);
    outline: 0;
}

.profile-card input[readonly] {
    background-color: var(--c-card);
    cursor: not-allowed;
}

.profile-card .button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.profile-card button {
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease,opacity .2s ease;
}

.profile-card .submit-btn {
    background: var(--c-link);
    color: var(--c-fg-invert);
}

.profile-card .logout-btn {
    background: var(--c-primary);
    color: var(--c-fg-invert);
}

.profile-card button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.profile-card .hint {
    font-size: 12px;
    color: var(--c-subtext);
    margin-top: 5px;
}

.navbar {
    display: flex;
    background-color: var(--c-card);
    overflow: hidden;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.navbar a {
    display: block;
    color: var(--c-text);
    text-align: center;
    padding: 14px 40px;
    text-decoration: none;
    transition: background-color .3s;
}

.navbar a:hover {
    background-color: var(--c-card);
    color: var(--c-primary);
}

/* ===== wulintang 主题层：由后台 12 色 + 圆角控制（追加于文件末尾，后定义优先，无 !important） ===== */
body {
    background-color: var(--c-page);
    color: var(--c-text);
}

/* 登录页（替代原内联 style，全部走变量） */
.login {
    background: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
}
.login h2 {color: var(--c-text);}
.login label {color: var(--c-subtext);}
.login input {
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
}
.login input:focus {
    border-color: var(--c-border);
}
.login button {
    /* 颜色交由具体类控制，避免"获取验证码"被强制成主按钮 */
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}
.login .login-btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--c-primary);
    border: none;
    border-radius: var(--radius);
    color: var(--c-fg-invert);
    font-weight: 600;
}
.login .login-btn-primary:hover {transform: translateY(-2px);opacity: .95;}
.login .login-btn-ghost {
    flex-shrink: 0;
    white-space: nowrap;
    width: auto;
    padding: 9px 14px;
    font-size: 13px;
    border-radius: var(--radius);
    border: var(--border-w) solid var(--c-border);
    background: var(--c-page);
    color: var(--c-primary);
}
.login .register-link {color: var(--c-subtext);}
.login .register-link a {color: var(--c-primary);text-decoration: none;font-weight: 500;}
.login .register-link a:hover {color: var(--c-primary);}

/* 登录页 tab / 验证码行 / 忘记密码链接 */
.login-tab-bar {
    display: flex;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.login-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    cursor: pointer;
    background: var(--c-card);
    color: var(--c-subtext);
    border-left: var(--border-w) solid var(--c-border);
    user-select: none;
}
.login-tab:first-child {border-left: 0;}
.login-tab.active {background: var(--c-primary);color: var(--c-fg-invert);}
.login-code-row {display: flex;gap: 8px;}
.login-panel {display: block;}
.login-panel.is-hidden {display: none;}
.login-link {font-size: 12px;color: var(--c-primary);text-decoration: none;}
.login-forgot-wrap {text-align: right;margin-bottom: 16px;}

/* 全局提交按钮（会员中心 security/set、申请收录等通用） */
.submit-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    background: var(--c-primary);
    color: var(--c-fg-invert);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity .2s ease;
}
.submit-btn:hover {opacity: .9;}

/* 主题切换浮动按钮 */
#wl-theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: var(--border-w) solid var(--c-border);
    background: var(--c-card);
    color: var(--c-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 9999;
}
#wl-theme-toggle:hover {opacity: .9;}

.navbar a.active {
    background-color: var(--c-link);
    color: var(--c-fg-invert);
}

.userIndex .profile-header {
    background: linear-gradient(135deg, var(--c-link) 0, var(--c-primary) 100%);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    color: var(--c-fg-invert);
}

.userIndex .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: var(--border-w) solid var(--c-border);
    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: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    padding: 10px 0;
}

.userIndex .menu-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: var(--c-text);
    text-decoration: none;
    transition: all .3s ease;
}

.userIndex .menu-item .arrow {
    color: var(--c-subtext);
    width: auto;
}

.userIndex .menu-item:hover {
    background: var(--c-card);
}

.userIndex .menu-item i {
    width: 30px;
    font-size: 20px;
    color: var(--c-link);
}

.userIndex .menu-item span {
    font-size: 16px;
    font-weight: 500;
}

.userIndex .arrow {
    margin-left: auto;
    color: var(--c-subtext);
}

.empty {
    text-align: center;
    padding: 50px;
    margin: auto;
    background-color: var(--c-card);
    border-radius: var(--radius)}

.empty img {
    width: 168px;
}

.empty p {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-link);
    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: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-text);
}

.pagination-wrapper a:hover {
    background: var(--c-card);
}

.pagination-wrapper .disabled {
    color: var(--c-subtext);
    cursor: not-allowed;
}

.page-stat {
    margin-left: 10px;
    color: var(--c-subtext);
}

@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: var(--c-card);
    border-left: var(--border-w) solid var(--c-border);
}

.yue-jilu .balance-item {
    padding: 15px;
    background-color: var(--c-card);
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius)}

.yue-jilu .balance-title {
    font-size: 16px;
    color: var(--c-text);
    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: var(--c-primary);
}

.yue-jilu .expense {
    color: var(--c-primary);
}

.yue-jilu .date {
    font-size: 14px;
    color: var(--c-subtext);
    text-align: right;
}

/* ===== 通用辅助类（消灭内联 style） ===== */
.settop {color: var(--c-primary);}
.flex-gap8 {display: flex;gap: 8px;}

/* 找回密码页 tab（替代内联 style + JS 写死色值） */
.forget-tab-bar {
    display: flex;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.forget-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    cursor: pointer;
    background: var(--c-card);
    color: var(--c-subtext);
    border-left: var(--border-w) solid var(--c-border);
    user-select: none;
}
.forget-tab:first-child {border-left: 0;}
.forget-tab.active {background: var(--c-link);color: var(--c-fg-invert);}
.forget-panel {display: block;}
.forget-panel.is-hidden {display: none;}

/* 提交/检索页 .add（替代页面内嵌 <style>，颜色全部走变量） */
.add {
    margin: 0;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.add .form-container {
    background: var(--c-card);
    padding: 40px;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    width: 100%;
    text-align: center;
}
.add .search-form {position: relative;}
.add .search-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.2em;
    border: var(--border-w) solid var(--c-border);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.add .submit-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-primary);
    color: var(--c-fg-invert);
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}
.add .submit-btn:hover {transform: translateY(-50%) scale(1.05);}
.add h2 {
    color: var(--c-text);
    margin-bottom: 30px;
    font-size: 2em;
}

/* 跳转中转页 url.html（替代内嵌 <style>，颜色全部走变量） */
.url-splash {
    background: var(--c-page);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Microsoft YaHei', sans-serif;
    color: var(--c-text);
}
.url-splash .container {text-align: center;position: relative;}
.url-splash .loader {width: 80px;height: 80px;margin: 0 auto 20px;position: relative;}
.url-splash .loader::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 100%; border: var(--border-w) solid var(--c-border);
}
.url-splash .loader::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 100%; border: var(--border-w) solid transparent; border-top-color: var(--c-border);
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.url-splash h1 {font-size: 2.5em;margin-bottom: 30px;letter-spacing: 2px;}
.url-splash p {color: var(--c-fg-invert);margin-bottom: 30px;}
.url-splash .progress-bar {width: 300px;height: 4px;background: var(--c-border);border: var(--border-w) solid var(--c-border);border-radius: var(--radius);margin: 0 auto;overflow: hidden;}
.url-splash .progress {width: 100%;height: 100%;background: var(--c-primary);animation: progress 1s linear forwards;transform-origin: left;}
@keyframes progress { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.url-splash .logo {position: absolute;top: -80px;left: 50%;transform: translateX(-50%);width: 60px;opacity: .9;}
