/* ==================== 原创投稿 tong.css ==================== */
.container--response {
    width: 1200px;
    margin: 0 auto;
}
.hl {
    color: #4facfe;
}
.p-tong {
    background: #f5f7fb;
    min-height: 100vh;
    color: #333;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 编辑推荐 ---------- */
.tong-recommend {
    position: relative;
    padding: 30px 0 36px;
    background: #1a2436;
    overflow: hidden;
}
.tong-recommend__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(79,172,254,0.25), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(0,198,255,0.15), transparent 50%);
    pointer-events: none;
}
.tong-recommend__wrap {
    position: relative;
}
.tong-recommend__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.tong-recommend__title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}
.tong-recommend__title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 22px;
    background: linear-gradient(180deg, #4facfe, #00c6ff);
    margin-right: 12px;
    vertical-align: -4px;
    border-radius: 2px;
}
.tong-recommend__dots .dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    margin-left: 6px;
    cursor: pointer;
    transition: all .25s;
}
.tong-recommend__dots .dot.active {
    width: 22px; height: 8px;
    border-radius: 4px;
    background: #4facfe;
}
.tong-recommend__list {
    display: flex;
    gap: 18px;
}
.tong-recommend__card {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}
.tong-recommend__card .cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 133%;
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
    transition: transform .3s ease;
}
.tong-recommend__card:hover .cover {
    transform: translateY(-4px);
}
.tong-recommend__card .cover img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.tong-recommend__card .cover__mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7));
}
.tong-recommend__card .cover__hits {
    position: absolute;
    left: 10px; bottom: 10px;
    color: #fff;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.tong-recommend__card .info {
    padding-top: 12px;
}
.tong-recommend__card .name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tong-recommend__card .author {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    margin: 0;
}

/* ---------- 平台优势 ---------- */
.tong-advantage {
    padding: 50px 0 40px;
}
.tong-advantage__hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}
.tong-advantage__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2436;
    margin: 0 0 8px;
}
.tong-advantage__title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 22px;
    background: linear-gradient(180deg, #4facfe, #00c6ff);
    margin-right: 12px;
    vertical-align: -4px;
    border-radius: 2px;
}
.tong-advantage__sub {
    color: #7a8699;
    font-size: 14px;
    margin: 0;
}
.tong-advantage__sub .hl {
    color: #4facfe;
    text-decoration: none;
}
.tong-advantage__btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: #fff !important;
    text-decoration: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(79,172,254,0.45);
    transition: all .25s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.tong-advantage__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(79,172,254,0.55);
    background: linear-gradient(135deg, #3aa0f0, #00b5ea);
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.tong-advantage__list {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    padding: 30px 20px;
    box-shadow: 0 6px 24px rgba(26,36,54,0.06);
}
.tong-advantage__item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    position: relative;
}
.tong-advantage__item + .tong-advantage__item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%;
    height: 60%;
    width: 1px;
    background: #eef1f7;
}
.tong-advantage__item .icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #eaf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: transform .3s;
}
.tong-advantage__item:hover .icon {
    transform: translateY(-3px);
}
.tong-advantage__item .name {
    color: #1a2436;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* ---------- Section 通用 ---------- */
.tong-section__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.tong-section__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2436;
    margin: 0;
}
.tong-section__title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 20px;
    background: linear-gradient(180deg, #4facfe, #00c6ff);
    margin-right: 10px;
    vertical-align: -4px;
    border-radius: 2px;
}
.tong-section__more {
    color: #7a8699;
    font-size: 13px;
    text-decoration: none;
}
.tong-section__more:hover {
    color: #4facfe;
}

/* ---------- 最新上架 ---------- */
.tong-latest {
    padding: 30px 0 40px;
}
.tong-latest__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.tong-latest__card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.tong-latest__card .cover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 140%;
    background: #eef1f7;
    box-shadow: 0 4px 14px rgba(26,36,54,0.08);
    transition: transform .3s ease;
}
.tong-latest__card:hover .cover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(26,36,54,0.14);
}
.tong-latest__card .cover img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.tong-latest__card .cover__tags {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 8px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}
.tong-latest__card .tag {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    color: #fff;
    line-height: 16px;
}
.tong-latest__card .tag--cate {
    background: rgba(79,172,254,0.85);
}
.tong-latest__card .tag--pay {
    background: rgba(255,255,255,0.25);
}
.tong-latest__card .tag--fav {
    background: linear-gradient(135deg, #ff9a00, #ff6b6b);
}
.tong-latest__card .name {
    margin: 10px 2px 0;
    font-size: 14px;
    color: #1a2436;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 投稿人气榜 ---------- */
.tong-rank {
    padding: 20px 0 60px;
}
.tong-rank__tabs {
    display: flex;
    gap: 28px;
}
.tong-rank__tabs .tab {
    font-size: 14px;
    color: #7a8699;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.tong-rank__tabs .tab.active {
    color: #4facfe;
    font-weight: 600;
    border-bottom-color: #4facfe;
}
.tong-rank__grid-wrap {
    position: relative;
}
.tong-rank__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tong-rank__item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(26,36,54,0.05);
    transition: all .25s;
}
.tong-rank__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26,36,54,0.1);
}
.tong-rank__item .rank-no {
    font-size: 28px;
    font-weight: 800;
    font-family: "DIN Alternate", Arial, sans-serif;
    color: #c5cdd8;
    min-width: 32px;
    line-height: 80px;
    text-align: center;
    flex-shrink: 0;
}
.tong-rank__item .rank-no--1 { color: #ff6b6b; background: linear-gradient(180deg,#ff6b6b,#ee5a6f); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tong-rank__item .rank-no--2 { color: #ffa751; background: linear-gradient(180deg,#ffa751,#ffe259); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tong-rank__item .rank-no--3 { color: #ffcf71; background: linear-gradient(180deg,#ffcf71,#ffb75e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tong-rank__item .cover {
    position: relative;
    width: 92px; height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f7;
}
.tong-rank__item .cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tong-rank__item .cover__cate {
    position: absolute;
    left: 0; bottom: 0;
    padding: 2px 6px;
    background: rgba(79,172,254,0.9);
    color: #fff;
    font-size: 11px;
    border-radius: 0 4px 0 0;
}
.tong-rank__item .info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.tong-rank__item .name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2436;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tong-rank__item .author {
    font-size: 12px;
    color: #4facfe;
    margin: 0 0 8px;
}
.tong-rank__item .desc {
    font-size: 12px;
    color: #7a8699;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
