/* ===== zzz_home: 目标站首页模块样式（从 zjfsq2.cfd 逐块搬运） ===== */
#notich {
    background: #fff;
    border: 1px solid #EDE7F6;
    border-radius: 5px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    cursor: pointer;
}
#notich .notice-label {
    padding: 8px 14px;
    background: #EDE7F6;
    color: #8e44ad;
    margin: -6px 12px -6px -12px;
    border-radius: 5px 0 0 5px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}
.notice-scroll-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.notice-scroll-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: noticeScroll 22s linear infinite;
}
.notice-scroll-track:hover {
    animation-play-state: paused;
}
@keyframes noticeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
.nr {
    font-size: 20px;
    margin: 0;
    background: -webkit-linear-gradient(
        left,
        #ffffff 0%, #ff0000 6.25%, #ff7d00 12.5%, #ffff00 18.75%,
        #00ff00 25%, #00ffff 31.25%, #0000ff 37.5%, #ff00ff 43.75%,
        #ffff00 50%, #ff0000 56.25%, #ff7d00 62.5%, #ffff00 68.75%,
        #00ff00 75%, #00ffff 81.25%, #0000ff 87.5%, #ff00ff 93.75%,
        #ffff00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: masked-animation 2s infinite linear;
}
@keyframes masked-animation {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(12px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f5ff 100%);
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(139, 92, 246, 0.3), 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c084fc 100%);
    padding: 14px 16px;
    position: relative;
    height: 48px;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 16px 20px 12px;
}

.modal-body p {
    margin: 0 0 8px 0;
    font-size: 17px;
    line-height: 1.6;
    color: #4a5568;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body .highlight {
    color: #7c3aed;
    font-weight: 600;
    padding: 0 2px;
}

.modal-body .warning-box {
    background: linear-gradient(135deg, #fef3f3 0%, #ffe5e5 100%);
    border-left: 3px solid #ef4444;
    padding: 10px 14px;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.modal-body .warning-text {
    color: #dc2626;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
    margin: 0 auto;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    text-decoration: none;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.modal-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.modal-download-btn:hover::before {
    left: 100%;
}

.modal-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45);
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 12px 20px 18px;
}

.modal-footer .btn-secondary {
    flex: 1;
    background: transparent;
    border: 1.5px solid #e9d5ff;
    color: #7c3aed;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background: #f5f0ff;
    border-color: #8b5cf6;
    transform: translateY(-1px);
}

.modal-footer .btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.25);
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(139, 92, 246, 0.4);
}

@media (max-width: 480px) {
    .modal-box {
        border-radius: 18px;
    }
    .modal-body p {
        font-size: 16px;
    }
    .modal-download-btn {
        font-size: 16px;
        padding: 13px 20px;
    }
    .modal-footer .btn-secondary,
    .modal-footer .btn-primary {
        font-size: 14px;
        padding: 9px 12px;
    }
}
.card.icolist {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    min-height: 80px;
}
.recommend-tag {
    background: #EDE7F6;
    color: #8e44ad;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 4px;
    padding: 8px 6px;
    width: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
}
@supports not (writing-mode: vertical-rl) {
    .recommend-tag {
        writing-mode: unset;
        flex-direction: column;
    }
}
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 4px;
    box-sizing: border-box;
    align-content: flex-start;
}
.icon-item {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    padding: 4px 3px;
    text-align: center;
    transition: transform 0.15s ease;
}
.icon-item:hover {
    transform: translateY(-1px);
}
.icon-item img {
    border-radius: 8px;
    height: 2.8rem;
    width: 2.8rem;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background: #f8f8f8;
}
.icon-item a {
    text-decoration: none;
    display: block;
}
.icon-item .name {
    padding-top: 4px;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}
.icon-item .name a {
    color: #4a148c;
    transition: color 0.2s;
}
.icon-item .name a:hover {
    color: #6a1b9a;
}

/* ===== 名字颜色方案 ===== */
/* 1-红色 */
.icon-item .name a.namecolor-1 { color: #e53935; }
.icon-item .name a.namecolor-1:hover { color: #c62828; }

/* 2-蓝色 */
.icon-item .name a.namecolor-2 { color: #1e88e5; }
.icon-item .name a.namecolor-2:hover { color: #1565c0; }

/* 3-绿色 */
.icon-item .name a.namecolor-3 { color: #43a047; }
.icon-item .name a.namecolor-3:hover { color: #2e7d32; }

/* 4-橙色 */
.icon-item .name a.namecolor-4 { color: #fb8c00; }
.icon-item .name a.namecolor-4:hover { color: #ef6c00; }

/* 5-粉色 */
.icon-item .name a.namecolor-5 { color: #e91e63; }
.icon-item .name a.namecolor-5:hover { color: #c2185b; }

/* 6-青色 */
.icon-item .name a.namecolor-6 { color: #00acc1; }
.icon-item .name a.namecolor-6:hover { color: #00838f; }

/* 7-紫色 */
.icon-item .name a.namecolor-7 { color: #8e24aa; }
.icon-item .name a.namecolor-7:hover { color: #6a1b9a; }

/* 8-七彩渐变动画 */
@keyframes rainbow-name {
    0%   { color: #e53935; }
    16%  { color: #fb8c00; }
    33%  { color: #fdd835; }
    50%  { color: #43a047; }
    66%  { color: #1e88e5; }
    83%  { color: #8e24aa; }
    100% { color: #e53935; }
}
.icon-item .name a.namecolor-8 {
    font-weight: 700;
    animation: rainbow-name 4s linear infinite;
}
.icon-item .name a.namecolor-8:hover {
    animation: rainbow-name 4s linear infinite;
}
body {
    background: linear-gradient(135deg, #f5edff 0%, #ecd9f5 50%, #e0c8f0 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
}
.qc_topbar {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.60);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.20);
    padding: 14px 20px;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.12);
    margin: 12px auto 18px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}
.qc_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.qc_logo_left {
    display: none;
}
.qc_logo_right {
    font-size: 16px;
    font-weight: 600;
    color: #4a1a7a;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    padding: 6px 20px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.10);
    border: 1px solid rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
}
.qc_logo_right b {
    color: #7c3aed;
    font-weight: 700;
}
.qc_logo_right .welcome-line {
    white-space: nowrap;
}
.qc_logo_right .welcome-line a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: underline;
}
.qc_logo_right .welcome-line a:hover {
    color: #5b21b6;
}
.qc_search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
}
.qc_search .fa-search {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a78bfa;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
}
.qc_search input[type="text"] {
    flex: 1;
    min-width: 140px;
    padding: 0 16px 0 40px;
    height: 36px;
    border-radius: 24px;
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    background: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    color: #2d1b4e;
    outline: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.06);
    backdrop-filter: blur(4px);
}
.qc_search input[type="text"]::placeholder {
    color: #b8a5d6;
    font-size: 14px;
    font-weight: 400;
}
.qc_search input[type="text"]:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 2px 12px rgba(139, 92, 246, 0.10);
    background: rgba(255, 255, 255, 0.90);
}
.qc_search .btn-search,
.qc_search .qc_share {
    border: none;
    border-radius: 20px;
    height: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 12px;
}
.qc_search .btn-search {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.30);
}
.qc_search .btn-search:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.40);
    opacity: 0.95;
}
.qc_search .qc_share {
    background: rgba(255, 255, 255, 0.6);
    color: #7c3aed;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.25);
}
.qc_search .qc_share:hover {
    background: rgba(255, 255, 255, 0.90);
    border-color: #8b5cf6;
}
.qc_buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 2px;
    flex-wrap: nowrap;
}
.qc_buttons .btn-sim {
    flex: 1 1 0;
    min-width: 80px;
    text-align: center;
    border: none;
    border-radius: 24px;
    padding: 6px 20px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    white-space: nowrap;
}
.qc_buttons .btn-sim:hover {
    opacity: 0.95;
}
.qc_buttons .btn-sim.pp {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.30);
}
.qc_buttons .btn-sim.pp:hover {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
}
.qc_buttons .btn-sim.pg {
    background: linear-gradient(135deg, #6fcf97, #88d8a8);
    box-shadow: 0 2px 8px rgba(111, 207, 151, 0.6);
}
.qc_buttons .btn-sim.pg:hover {
    box-shadow: 0 4px 16px rgba(111, 207, 151, 0.8);
}
.qc_buttons .btn-sim.contact {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45);
}
.qc_buttons .btn-sim.contact:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.60);
}
.qc_buttons .btn-sim.group {
    background: linear-gradient(135deg, #e53e3e, #f56565);
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.6);
    font-size: 16px;
    padding: 6px 14px;
}
.qc_buttons .btn-sim.group:hover {
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.8);
}
@media (max-width: 640px) {
    .qc_topbar {
        padding: 10px 12px;
        margin: 8px auto 12px;
        border-radius: 14px;
        gap: 8px;
    }
    .qc_logo {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .qc_logo_left {
        display: none;
    }
    .qc_logo_right {
        font-size: 14px;
        padding: 5px 14px;
        width: 100%;
        box-sizing: border-box;
        gap: 0px;
    }
    .qc_search {
        gap: 8px;
    }
    .qc_search input[type="text"] {
        height: 34px;
        font-size: 14px;
        padding: 0 12px 0 36px;
        min-width: 100px;
    }
    .qc_search input[type="text"]::placeholder {
        font-size: 13px;
    }
    .qc_search .btn-search,
    .qc_search .qc_share {
        height: 26px;
        font-size: 15px;
        padding: 0 10px;
        flex: 0 1 auto;
        min-width: auto;
    }
    .qc_buttons {
        gap: 5px;
        margin-top: 2px;
        flex-wrap: nowrap;
    }
    .qc_buttons .btn-sim {
        min-width: 60px;
        font-size: 16px;
        padding: 5px 12px;
    }
    .qc_buttons .btn-sim.group {
        font-size: 14px;
        padding: 5px 10px;
        min-width: 55px;
    }
}
@media (max-width: 400px) {
    .qc_topbar {
        padding: 8px 8px;
        margin: 8px auto 12px;
    }
    .qc_logo_right {
        font-size: 12px;
        padding: 4px 10px;
    }
    .qc_search input[type="text"] {
        height: 30px;
        font-size: 13px;
        padding: 0 10px 0 32px;
    }
    .qc_search .btn-search,
    .qc_search .qc_share {
        height: 24px;
        font-size: 13px;
        padding: 0 8px;
    }
    .qc_buttons .btn-sim {
        min-width: 50px;
        font-size: 14px;
        padding: 4px 10px;
    }
    .qc_buttons .btn-sim.group {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 45px;
    }
}
.form-group.pcyc {
    display: none;
}
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.share-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px 25px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.share-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}
.share-close:hover {
    color: #333;
}
.share-modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #2d1b4e;
}
.share-buttons {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}
.share-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px 0;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}
.share-btn.qq {
    background: #12b7f5;
}
.share-btn.qq:hover {
    background: #0a8bc0;
}
.share-btn.wechat {
    background: #07c160;
}
.share-btn.wechat:hover {
    background: #059a4a;
}
@media (max-width: 480px) {
    .share-modal-content {
        padding: 24px 16px 20px;
        width: 85%;
    }
    .share-btn {
        font-size: 16px;
        padding: 10px 0;
        min-width: 70px;
    }
}

.qc_game_buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 2px;
}
.qc_game_buttons .btn-game {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    border: none;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
}
.qc_game_buttons .btn-game::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left .5s;
}
.qc_game_buttons .btn-game:hover::before {
    left: 100%;
}
.qc_game_buttons .btn-game:hover {
    transform: translateY(-1px);
}
.qc_game_buttons .btn-game.canada {
    background: linear-gradient(135deg, #f43f5e, #ec4899, #d946ef);
    box-shadow: 0 3px 12px rgba(244, 63, 94, 0.45);
}
.qc_game_buttons .btn-game.canada:hover {
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.6);
}
.qc_game_buttons .btn-game.rps {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4, #14b8a6);
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.45);
}
.qc_game_buttons .btn-game.rps:hover {
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}
.qc_game_buttons .btn-game.predict {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #38bdf8);
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.45);
}
.qc_game_buttons .btn-game.predict:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.65);
}
@media (max-width: 640px) {
    .qc_game_buttons { gap: 6px; }
    .qc_game_buttons .btn-game {
        font-size: 15px;
        padding: 8px 10px;
        border-radius: 20px;
    }
}
@media (max-width: 400px) {
    .qc_game_buttons .btn-game {
        font-size: 13px;
        padding: 7px 8px;
        gap: 4px;
    }
}
.rl-badge{
    display:inline-flex;align-items:center;gap:3px;
    height:20px;padding:0 7px;margin-right:5px;
    border-radius:10px;font-size:11px;font-weight:700;
    color:#fff;letter-spacing:.5px;vertical-align:middle;
    position:relative;top:-1px;
    background:linear-gradient(135deg,#ff7a45,#ff4d4f);
    box-shadow:0 2px 6px rgba(255,77,79,.35);
    white-space:nowrap;
}
.rl-badge svg{width:11px;height:11px;fill:currentColor;display:block}
.rl-badge-done{
    background:linear-gradient(135deg,#52c41a,#389e0d);
    box-shadow:0 2px 6px rgba(82,196,26,.35);
}
/* 知乎蓝主题适配：确保在深色标题里也清晰 */
.subject .rl-badge{text-shadow:0 1px 1px rgba(0,0,0,.12)}
.threadItem {
    padding: 0.5rem 0.3rem !important;   
    border-bottom: 1px solid #f0f0f0;
}
.threadItem .avatar-2 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.threadItem .media-body {
    padding-left: 8px;
}
.threadItem .subject {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 2px;
}
.threadItem .subject a {
    font-size: 1.2rem;
    color: #262626;
    font-weight: 500;
}
.threadItem .username,
.threadItem .date {
    font-size: 0.75rem;
    font-weight: 500;
}
.threadItem .small {
    font-size: 0.75rem;
}
.threadItem .text-muted {
    color: #999 !important;
}
.threadItem .date {
    margin-right: 4px;
}
.threadItem .post-time-label {
    color: #000;
    font-weight: 400;
}
.threadItem .ml-2 {
    margin-left: 0.5rem !important;
}
.threadItem .mr-1 {
    margin-right: 0.25rem !important;
}

.threadItem .forum-badge {
    display: inline-block;
    border-radius: 12px;
    padding: 0 10px;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-left: 5px;
    vertical-align: middle;
    white-space: nowrap;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #999;
    font-weight: normal;
}
@media (max-width: 768px) {
    .threadItem {
        padding: 0.4rem 0.2rem !important;
    }
    .threadItem .avatar-2 {
        width: 28px;
        height: 28px;
        margin-top: 2px;
    }
    .threadItem .subject {
        font-size: 0.85rem;
    }
    .threadItem .subject a {
        font-size: 1.05rem;
    }
    .threadItem .username,
    .threadItem .date {
        font-size: 0.7rem;
    }
    .threadItem .small {
        font-size: 0.7rem;
    }
    .threadItem .d-flex.justify-content-between.small > div:first-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 5px;
    }
    .threadItem .d-flex.justify-content-between.small > div:last-child {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .hidden-sm {
        display: none !important;
    }
    .threadItem .username {
        max-width: 60px;
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }
    .threadItem .forum-badge {
        font-size: 0.7rem;
        padding: 0 6px;
        max-width: 55px;
        line-height: 1.6;
    }
}
        #gotop {
            width: 60px;
            height: auto;
            z-index: 1021;
            position: fixed;
            bottom: 8%;
            left: 50%;
            margin-left: 628px;
            margin-bottom: 0;
            border: 0;
            background-color: transparent;
        }

        #gotop a {
            color: #7b2cf0;
            border: 0;
            border-bottom: 1px solid rgba(240, 243, 249, 0.4);
            font-size: 20px;
            background: rgba(255, 255, 255, 0.45);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            line-height: 1;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        #gotop a i {
            transition: transform 0.4s ease, color 0.3s ease;
        }

        #gotop a span {
            display: block;
            font-size: 12px;
            margin-top: 2px;
            line-height: 1.2;
            transition: color 0.3s ease;
        }

        #gotop a#goToBottom {
            border-radius: 8px 8px 0 0;
        }

        #gotop a#goTopBtn {
            border-radius: 0 0 8px 8px;
            border-bottom: 0;
        }

        #gotop a.home {
            border-radius: 0;
        }

        #gotop a:hover {
            color: #fff;
            background-color: #7b2cf0;
            text-decoration: none;
            border-bottom-color: transparent;
        }

        #gotop a:hover i {
            transform: rotate(360deg);
        }

        #gotop a:active {
            color: #fff;
            background-color: #7b2cf0;
        }

        #gotop a.clicked {
            color: #fff !important;
            background-color: #7b2cf0 !important;
            border-bottom-color: transparent !important;
        }

        #gotop .weixin {
            position: relative;
        }

        #gotop .weixin .qrcode {
            position: absolute;
            top: -64px;
            right: 70px;
            width: 120px;
            max-width: 120px;
            height: 120px;
            display: inline-block;
            vertical-align: middle;
            background: #fff;
            border: 5px #343a40 solid;
            transform: scale(0);
            transform-origin: top right;
            opacity: 0;
            transition: all 0.4s ease-in-out;
        }

        #gotop .weixin .qrcode .angle {
            width: 0;
            height: 0;
            border: 15px solid transparent;
            border-left-color: #343a40;
            position: absolute;
            content: '';
            top: 40%;
        }

        #gotop .weixin:hover .qrcode {
            transform: scale(1);
            opacity: 1;
            z-index: 1022;
        }

        footer {
            width: 100%;
            padding: 19px 0;
            background: #fff;
            z-index: 100;
        }

        footer a:hover {
            color: #827f7f !important;
        }

        footer .left {
            width: 100%;
            color: #606060;
        }

        footer .left img {
            margin-bottom: 15px;
            display: block;
        }

        footer .left p {
            line-height: 26px;
            font-size: 14px !important;
        }

        footer .left ul {
            border-top: 1px solid #c1bfbf;
            padding-top: 8px;
            width: 60%;
        }

        footer .left ul li {
            float: left;
            margin-right: 21px;
        }

        footer .left ul li a {
            display: block;
            color: #606060;
            font-size: 14px;
            height: 32px;
            line-height: 32px;
        }

        footer .right {
            text-align: right;
            margin-top: -100px;
            float: right;
            padding-right: 10rem;
        }

        footer .right img {
            padding: 5px;
            width: 100px;
            height: 100px;
            background: #fff;
            border-radius: 2px;
            overflow: hidden;
        }

        .leftc_pc {
            background: #fff;
            text-align: center;
            position: fixed;
            top: 128px;
            left: 50%;
            margin-left: -730px;
            z-index: 88;
            width: 140px;
            padding: 16px;
            border: 1px solid #fff;
            background-color: #fff;
        }

        .leftc_pc_img {
            width: 102px;
            height: 102px;
        }

        .leftc_pc p {
            font-size: 14px;
            line-height: 20px;
        }

        @media (max-width: 1024px) {
            #gotop {
                left: auto;
                right: 1%;
                margin-right: 5px;
                margin-left: 0;
            }
            #gotop a {
                color: #fff;
                background-color: #343a40;
            }
            #gotop a.clicked {
                background-color: #7b2cf0 !important;
            }
            #gotop .weixin {
                display: none;
            }
        }

        @media (max-width: 768px) {
            #gotop {
                right: 0;
                margin-right: 0;
                bottom: 18%;
            }
            #gotop a {
                width: 56px;
                height: 56px;
                font-size: 18px;
                color: #7b2cf0;
                background: rgba(255, 255, 255, 0.45);
            }
            #gotop a span {
                font-size: 10px;
            }
        }

        @media (max-width: 576px) {
            footer {
                text-align: center;
                padding-bottom: 40px;
                padding-top: 5px;
            }
            footer .right {
                display: none !important;
            }
            footer .left ul {
                width: 100%;
            }
            footer .left img {
                display: none !important;
            }
            footer .container span {
                display: block !important;
            }
            footer .left ul li {
                display: none !important;
            }
            #gotop {
                right: 0;
                margin-right: 0;
                bottom: 18%;
            }
            #gotop a {
                background: rgba(255, 255, 255, 0.35);
                color: #7b2cf0;
                border-radius: 5px !important;
                width: 54px;
                height: 54px;
                font-size: 16px;
            }
            #gotop a span {
                font-size: 9px;
            }
        }
.bottom_line {
    text-align: center;
    position: relative;
}
.bottom_line .common_container {
    color: hsla(0, 2.1%, 18.8%, 0.6);
}
.bottom_line .common_container img {
    height: 73px;
    width: 88px;
    margin: 0 auto;
}
.bottom_line .common_container .bottom_line_text {
    display: block;
    position: absolute;
    font-size: 15px;
    line-height: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -webkit-calc(50% + 60px);
    left: calc(50% + 60px);
    color: #8B5CF6;  /* 原来是 #6699FF，现在改为紫色 */
    font-weight: bold;
}
.bottom_line .common_container .bottom_line_line {
    width: 100%;
    height: 1px;
    background-color: hsla(0, 0%, 100%, .05);
    position: absolute;
    bottom: 0;
}
/* ===== 桌面二级导航 #nav_pc_2 ===== */
#nav_pc_2 { background: #fff; }
#nav_pc_2 .nav { float: left; flex-wrap: wrap; }
#nav_pc_2 .nav-link { color: #6a1b9a; padding: 7px 14px; font-size: 1rem; }
#nav_pc_2 .nav-item.active .nav-link { color: #9b59b6; font-weight: 600; background: rgba(155,89,182,.08); border-radius: 4px; }
#nav_pc_2.nav_pc_2 { position: fixed; top: 0px; left: 0px; width: 100%; z-index: 999; }
@media (max-width: 991.98px) { #nav_pc_2 { display: none !important; } }

/* ===== 侧栏游客卡 ===== */
.backgrwbguest { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* ===== 帖子列表兜底 ===== */
.card-threadlist .card-header { position: relative; }
.threadItem .avatar-2 { width: 32px; height: 32px; border-radius: 50%; }
.threadItem .subject { font-size: 1.2rem; }
.threadItem .subject a { color: #262626; }
.threadItem .subject a:hover { color: #9b59b6; text-decoration: none; }
/* 帖子项分隔线 / 与目标站一致 */
.card-threadlist .threadlist .threadItem { border-bottom: 1px solid #f0f0f0; }

/* ===== 公告全文弹窗：JS 用 classList 'show' 控制，需补显示规则 ===== */
.modal-overlay.show { display: flex; }
#noticeContentModal .modal-body { max-height: 62vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#noticeContentModal .modal-footer { padding: 0 20px 18px; }
@media (max-width: 480px) {
    .modal-overlay { padding: 12px; }
    #noticeContentModal .modal-box { border-radius: 14px; }
    #noticeContentModal .modal-body { padding: 14px 16px 8px; }
    #noticeContentText { font-size: 15px !important; line-height: 1.75 !important; }
}


/* ===== 置顶 / 优秀 标记（对齐目标站 zjfsq2.cfd：文字徽章，不是字体图标） ===== */
.icon-top-1, .icon-top-2, .icon-top-3 {
	color: #f75751;
	font-size: .875rem;
	font-style: normal;
	padding: .125rem .25rem;
	border-radius: .25rem;
	vertical-align: text-bottom;
	font-family: Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
	-webkit-font-smoothing: auto;
	margin-right: 2px;
}
[class^="icon-top-"]:before { content: "置顶"; }
.icon-top-1 { background: #e74c3c; color: #ffffff; }
.icon-top-3 { background: #000000; color: #ffd700; }
.zzz-stamp {
	display: inline-block;
	background: #e67e22;
	color: #fff;
	font-size: .875rem;
	line-height: 1.35;
	padding: .125rem .3rem;
	border-radius: .25rem;
	vertical-align: text-bottom;
	font-style: normal;
	margin-right: 2px;
}


/* 标题高亮：对齐目标站 huux_thread_hlight（0=无 1红 2绿 3紫 4蓝 5橙 6彩虹） */
.huux_thread_hlight_style1{color:#FF0000;font-weight:700}
.huux_thread_hlight_style2{color:#397B21;font-weight:700}
.huux_thread_hlight_style3{color:#9C00FF;font-weight:700}
.huux_thread_hlight_style4{color:#0000FF;font-weight:700}
.huux_thread_hlight_style5{color:#FF9C00;font-weight:700}
.huux_thread_hlight_style6{font-weight:700;animation:huux-rainbow 4s linear infinite}
@keyframes huux-rainbow{0%{color:#e53935}16%{color:#fb8c00}33%{color:#fdd835}50%{color:#43a047}66%{color:#1e88e5}83%{color:#8e24aa}100%{color:#e53935}}
