* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.pc-news-body {
    min-width: 1180px;
    color: #f5f7ff;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #202121;
}

.pc-news-page {
    min-height: 100vh;
    padding-bottom: 84px;
    background: #202121;
}

.pc-news-page--detail {
    background: #202121;
}

.pc-news-topbar {
    height: 80px;
    background: #252626;
}

.pc-news-topbar__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.pc-news-topbar .home-actions {
    align-items: flex-start;
}

.pc-news-topbar .home-metric {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.pc-news-topbar .home-metric:focus-visible {
    outline: 1px solid rgba(93, 154, 255, .8);
    outline-offset: 4px;
}

.news-hero-banner {
    height: 560px;
    background: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .18)), url("/static/userb/news/news-hero.png?v=2026082801") no-repeat center / cover;
}

.news-hero-banner__inner {
    width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
    text-align: center;
}

.news-hero-banner h1 {
    margin: 0;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.news-hero-banner p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
}

.news-search-bar {
    display: flex;
    align-items: center;
    width: 810px;
    height: 52px;
    margin: 42px auto 0;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .46);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
    backdrop-filter: blur(10px);
}

.news-search-bar img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    object-fit: contain;
    flex: 0 0 auto;
}

.news-search-bar input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 50px;
    border: 0;
    outline: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 50px;
    background: transparent;
}

.news-search-bar input::placeholder {
    color: rgba(255, 255, 255, .72);
}

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

.news-main--list {
    padding-top: 56px;
}

.news-main--search {
    padding-top: 40px;
}

.news-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: start;
}

.news-sidebar {
    min-height: 386px;
    padding: 14px 0;
    background: #2a2b2d;
}

.news-sidebar a {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    padding-left: 68px;
    color: rgba(255, 255, 255, .36);
    font-size: 16px;
    line-height: 1;
    transition: color .2s ease, background .2s ease;
}

.news-sidebar a:hover,
.news-sidebar a.is-active {
    color: rgba(255, 255, 255, .9);
}

.news-sidebar a.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    background: #2f75ff;
    transform: translateY(-50%);
}

.news-list-panel {
    background: #292a2c;
}

.news-list-panel--search {
    margin-top: 35px;
}

.news-list-item {
    min-height: 144px;
    padding: 28px 34px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.news-list-item:last-child {
    border-bottom: 0;
}

.news-list-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.news-list-item__head > div {
    min-width: 0;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 28px;
    padding: 0 13px;
    border-radius: 4px;
    color: #3c8cff;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    background: rgba(47, 117, 255, .14);
}

.news-list-item__title {
    display: inline-block;
    max-width: 760px;
    margin-left: 14px;
    color: rgba(255, 255, 255, .92);
    font-size: 20px;
    line-height: 28px;
    font-weight: 800;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}

.news-list-item__title:hover {
    color: #ffffff;
}

.news-hot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 52px;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    color: #ff6538;
    font-size: 13px;
    line-height: 1;
    background: rgba(255, 101, 56, .1);
}

.news-hot img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.news-list-item p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .46);
    font-size: 15px;
    line-height: 1.6;
}

.news-list-item__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.news-list-item__foot time,
.news-related-card__foot time {
    color: rgba(255, 255, 255, .42);
    font-size: 14px;
    line-height: 1;
}

.news-list-item__foot a,
.news-related-card__foot a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .46);
    font-size: 14px;
    line-height: 1;
    transition: color .2s ease;
}

.news-list-item__foot a:hover,
.news-related-card__foot a:hover {
    color: #ffffff;
}

.news-list-item__foot img,
.news-related-card__foot img {
    width: 7px;
    height: 12px;
    object-fit: contain;
}

.news-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 125px;
    height: 39px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1;
    background: rgba(255, 255, 255, .02);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.news-back:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
}

.news-back img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 31px;
    color: rgba(255, 255, 255, .36);
    font-size: 16px;
    line-height: 1;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, .36);
}

.news-breadcrumb strong {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
}

.news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    margin-top: 35px;
    background: #292a2c;
}

.news-list-panel .news-empty {
    margin-top: 0;
    background: transparent;
}

.news-empty img {
    width: 320px;
    height: auto;
    max-width: 82%;
    object-fit: contain;
}

.news-empty h2 {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
}

.news-empty p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 15px;
    line-height: 1.5;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.news-page-btn,
.news-page-number,
.news-page-ellipsis,
.news-page-jump input,
.news-page-jump button {
    height: 30px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 30px;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    color: rgba(255, 255, 255, .68);
    background: #303235;
}

.news-page-number,
.news-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    color: rgba(255, 255, 255, .48);
    background: #303235;
}

.news-page-number.is-active {
    color: #ffffff;
    background: #2f75ff;
}

.news-page-ellipsis {
    background: transparent;
}

.news-page-jump {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
}

.news-page-jump input {
    width: 56px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: #303235;
}

.news-page-jump button {
    min-width: 52px;
    padding: 0 13px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: #2f75ff;
}

.news-detail-main {
    width: 1200px;
    margin: 0 auto;
    padding-top: 54px;
}

.news-detail {
    margin-top: 48px;
}

.news-detail h1 {
    max-width: 980px;
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-size: 29px;
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: 0;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.news-detail__meta time,
.news-detail__views {
    color: rgba(255, 255, 255, .36);
    font-size: 15px;
    line-height: 1;
}

.news-detail__views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-detail__views::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: url("/static/userb/news/views-eye.svg?v=2026082801") no-repeat center / contain;
}

.news-detail__divider {
    height: 1px;
    margin-top: 31px;
    background: rgba(255, 255, 255, .08);
}

.news-detail__content {
    margin-top: 33px;
    color: rgba(255, 255, 255, .64);
    font-size: 16px;
    line-height: 2.05;
}

.news-detail__content p {
    margin: 0 0 23px;
}

.news-detail__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
}

.news-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.news-detail__tags span {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    color: rgba(255, 255, 255, .36);
    font-size: 15px;
    line-height: 1;
}

.news-related {
    margin-top: 46px;
    max-width: 100%;
    overflow: hidden;
}

.news-related h2 {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 800;
}

.news-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 29px;
}

.news-related-card {
    min-width: 0;
    min-height: 190px;
    padding: 25px 22px 22px;
    background: #292a2c;
}

.news-related-card__head {
    display: block;
    min-width: 0;
    min-height: 60px;
    max-height: 60px;
    overflow: hidden;
}

.news-related-card__head .news-tag {
    float: left;
    margin: 0 12px 0 0;
}

.news-related-card__title {
    display: block;
    min-width: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 30px;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-related-card p {
    display: -webkit-box;
    height: 48px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-related-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

@media (max-width: 1280px) {
    body.pc-news-body {
        min-width: 0;
    }

    .pc-news-topbar__inner,
    .news-hero-banner__inner,
    .news-main,
    .news-detail-main {
        width: min(1120px, calc(100% - 48px));
    }

    .news-search-bar {
        width: min(810px, 82vw);
    }

    .news-list-item__title {
        max-width: 640px;
    }
}

@media (max-width: 900px) {
    .pc-news-topbar {
        height: auto;
        min-height: 72px;
    }

    .pc-news-topbar__inner {
        align-items: center;
        padding: 18px 0;
    }

    .pc-news-topbar .home-metric {
        display: none;
    }

    .news-hero-banner {
        height: 430px;
    }

    .news-hero-banner__inner {
        padding-top: 100px;
    }

    .news-hero-banner h1 {
        font-size: 34px;
    }

    .news-hero-banner p {
        font-size: 16px;
    }

    .news-search-bar {
        width: 100%;
        height: 48px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        display: flex;
        min-height: 0;
        overflow-x: auto;
        padding: 0;
    }

    .news-sidebar a {
        flex: 0 0 auto;
        height: 48px;
        padding: 0 18px;
    }

    .news-sidebar a.is-active::before {
        left: 18px;
        top: auto;
        bottom: 0;
        width: calc(100% - 36px);
        height: 3px;
        transform: none;
    }

    .news-list-item {
        padding: 24px 20px;
    }

    .news-list-item__head {
        display: block;
    }

    .news-list-item__title {
        display: block;
        max-width: 100%;
        margin: 12px 0 0;
        white-space: normal;
    }

    .news-hot {
        margin-top: 12px;
    }

    .news-pagination {
        flex-wrap: wrap;
    }

    .news-page-jump {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .news-related__grid {
        grid-template-columns: 1fr;
    }
}
