/* 幸福宝 - detail 页面样式（从视图模板抽出，请勿内联回页面） */
* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
            background: #f2f4f8;
            color: #2c3e50;
            line-height: 1.6;
        }
        a { text-decoration: none; color: inherit; }
        img { display: block; }

        /* ============ 顶部品牌条（导航本体由 common/nav 统一模块提供） ============ */
        .hx-header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            padding: 14px 0;
            box-shadow: 0 2px 14px rgba(37, 117, 252, .18);
        }
        .hx-header-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .hx-brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: .5px;
        }
        .hx-brand-logo {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: rgba(255, 255, 255, .2);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
        .hx-header-actions { display: flex; align-items: center; gap: 10px; }
        .hx-user,
        .hx-login {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            border-radius: 20px;
            background: rgba(255, 255, 255, .18);
            color: #fff;
            font-size: .85rem;
            font-weight: 500;
            transition: background .2s;
        }
        .hx-user:hover,
        .hx-login:hover { background: rgba(255, 255, 255, .3); }

        /* ============ 页面主体两栏 ============ */
        .page-wrap {
            max-width: 1240px;
            margin: 20px auto;
            padding: 0 20px;
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }
        .main-col { flex: 1 1 auto; min-width: 0; }
        .side-col { flex: 0 0 320px; width: 320px; }

        .card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            overflow: hidden;
        }
        .card-body { padding: 22px 24px; }

        /* ============ 播放/封面区 ============ */
        .player-card { padding: 0; }
        .player {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #0f172a;
            overflow: hidden;
        }
        .player > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .player .cover-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
            pointer-events: none;
        }
        .player .play-badge {
            position: absolute;
            left: 18px;
            bottom: 16px;
            color: #fff;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 2;
        }
        .player .cover-tag {
            position: absolute;
            right: 16px;
            top: 14px;
            background: rgba(0,0,0,0.55);
            color: #fff;
            font-size: 0.75rem;
            padding: 3px 10px;
            border-radius: 12px;
            z-index: 2;
        }
        .empty-player {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #8ea0c0;
            background: linear-gradient(135deg, #1e2a45 0%, #2b3b5e 100%);
        }
        .empty-player i { font-size: 3rem; margin-bottom: 12px; }

        /* ============ 标题 & 操作 ============ */
        .title-section .title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.45;
        }
        .meta-info {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-top: 12px;
            color: #94a3b8;
            font-size: 0.85rem;
            gap: 18px;
        }
        .meta-info i { margin-right: 5px; }
        .meta-info .author-name { color: #4361ee; font-weight: 500; }
        .status-pill {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        .status-ongoing { color: #2563eb; background: rgba(37,99,235,0.1); }
        .status-completed { color: #16a34a; background: rgba(22,163,74,0.1); }
        .status-ended { color: #94a3b8; background: rgba(148,163,184,0.15); }
        .status-pending { color: #d97706; background: rgba(217,119,6,0.1); }
        .status-rejected { color: #dc2626; background: rgba(220,38,38,0.1); }
        .channel-tag-pill {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #5a4500;
            background: linear-gradient(135deg, #ffe27a, #ffc107);
        }

        .action-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            margin-top: 18px;
        }
        .btn {
            border: none;
            cursor: pointer;
            border-radius: 24px;
            font-size: 0.92rem;
            font-weight: 500;
            padding: 11px 26px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        .btn-primary { background: linear-gradient(135deg, #4361ee, #6a11cb); color: #fff; }
        .btn-primary:hover { box-shadow: 0 6px 16px rgba(67,97,238,0.35); transform: translateY(-1px); }
        .btn-outline { background: #fff; border: 1px solid #4361ee; color: #4361ee; }
        .btn-outline:hover { background: #f2f5ff; }
        .btn-disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }
        .stat-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #f5f7fa;
            color: #64748b;
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 0.85rem;
        }
        .stat-chip strong { color: #1f2937; }
        .stat-chip.complaint-link {
            margin-left: auto;
            background: #ef4444;
            color: #fff;
            /* border: 1px solid #f8f40a; */
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
        }
        .stat-chip.complaint-link:hover {
            background: #dc2626;
            border-color: #dc2626;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
        }

        /* ============ 通用标题 ============ */
        .section-title {
            font-size: 1.02rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .section-title::before {
            content: '';
            width: 4px;
            height: 16px;
            background: #4361ee;
            border-radius: 2px;
        }
        .divider { height: 1px; background: #eef1f6; margin: 22px 0; }
        .content-text { font-size: 0.94rem; color: #475569; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }

        .project-images {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 18px;
        }
        .project-images img {
            width: 100%;
            height: 130px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s;
        }
        .project-images img:hover { transform: scale(1.04); }

        .notice-text {
            font-size: 0.88rem;
            color: #dd6161;
            background: #fef0f0;
            padding: 16px;
            border-radius: 8px;
            line-height: 1.75;
        }
        .notice-text2 {
            font-size: 0.88rem;
            color: #52606d;
            background: #ecf5ff;
            padding: 16px;
            border-radius: 8px;
            line-height: 1.75;
        }

        /* ============ 项目信息（纵向一行一条） ============ */
        .info-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .info-item {
            display: flex;
            align-items: center;
            gap: 9px;
            background: #f8fafc;
            border: 1px solid #f1f5f9;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 0.88rem;
            color: #64748b;
        }
        .info-item i { color: #4361ee; flex: 0 0 16px; width: 16px; text-align: center; }
        .info-item b {
            margin-left: auto;
            padding-left: 12px;
            color: #1f2937;
            font-weight: 600;
            text-align: right;
        }
        .info-item.wide { flex-wrap: wrap; }
        .info-item.wide .tags-container { width: 100%; }

        .tags-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
        .tag-outline { padding: 3px 14px; border-radius: 20px; font-size: 0.78rem; border: 1px solid; }
        .tag-color-1 { color: #ff6b6b; border-color: #ff6b6b; background: rgba(255,107,107,0.08); }
        .tag-color-2 { color: #4ecdc4; border-color: #4ecdc4; background: rgba(78,205,196,0.08); }
        .tag-color-3 { color: #45b7d1; border-color: #45b7d1; background: rgba(69,183,209,0.08); }
        .tag-color-4 { color: #96ceb4; border-color: #96ceb4; background: rgba(150,206,180,0.08); }
        .tag-color-5 { color: #f0a500; border-color: #f0a500; background: rgba(240,165,0,0.08); }
        .tag-color-6 { color: #dda0dd; border-color: #dda0dd; background: rgba(221,160,221,0.08); }
        .tag-color-7 { color: #4dab8d; border-color: #4dab8d; background: rgba(77,171,141,0.08); }
        .tag-color-8 { color: #d4a017; border-color: #d4a017; background: rgba(212,160,23,0.08); }
        .tag-color-9 { color: #bb8fce; border-color: #bb8fce; background: rgba(187,143,206,0.08); }
        .tag-color-0 { color: #85c1e9; border-color: #85c1e9; background: rgba(133,193,233,0.08); }

        /* ============ 评分区 ============ */
        .score-block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            background: #fff8e6;
            border-radius: 10px;
            padding: 14px 16px;
            margin-top: 14px;
        }
        .score-value { font-size: 1.5rem; font-weight: 700; color: #f59e0b; line-height: 1; }
        .score-desc { font-size: 0.8rem; color: #94a3b8; }
        .btn-score {
            background: #fff;
            color: #4361ee;
            border: 1px solid #4361ee;
            border-radius: 20px;
            padding: 7px 18px;
            font-size: 0.82rem;
            cursor: pointer;
        }
        .btn-score:hover { background: #f2f5ff; }
        .btn-score i { margin-right: 5px; }
        /* 未达评分条件时的锁定态按钮（仍可点击查看规则） */
        .btn-score.is-muted {
            color: #94a3b8;
            border-color: #cbd5e1;
            background: #f8fafc;
        }
        .btn-score.is-muted:hover { background: #eef2f7; color: #64748b; }

        /* ============ 参与项目 CTA（标签下方独立一行，实心渐变按钮） ============ */
        .join-cta-row { margin-top: 20px; }
        .btn-join {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px 24px;
            font-size: 1.02rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #2563eb 0%, #4361ee 45%, #6a11cb 100%);
            box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
            cursor: pointer;
            transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
        }
        .btn-join i { font-size: 1.1rem; }
        .btn-join:hover {
            transform: translateY(-2px);
            filter: brightness(1.08);
            box-shadow: 0 14px 30px rgba(67, 97, 238, 0.45);
        }
        .btn-join:active { transform: translateY(0); }
        .btn-join.is-joined,
        .btn-join.is-owner {
            color: #fff;
            cursor: not-allowed;
            box-shadow: none;
            filter: none;
        }
        .btn-join.is-joined { background: linear-gradient(135deg, #22c55e, #16a34a); }
        .btn-join.is-owner { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }

        /* ============ 评分规则说明 ============ */
        .score-rule {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-top: 10px;
            padding: 10px 14px;
            font-size: 0.78rem;
            line-height: 1.75;
            color: #92600a;
            background: #fffdf5;
            border: 1px dashed #f0c65b;
            border-radius: 8px;
        }
        .score-rule i { color: #f59e0b; margin-top: 4px; }
        .score-rule b { color: #b45309; }
        .avatar-grid { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
        .avatar-item {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 1px solid #eef1f6;
            object-fit: cover;
        }

        /* ============ 评分历史 ============ */
        .score-history { margin-top: 14px; }
        .score-history-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #334155;
            margin-bottom: 10px;
        }
        .score-history-title .count { font-weight: 400; font-size: 0.74rem; color: #94a3b8; }
        .score-history-list { display: flex; flex-direction: column; gap: 8px; }
        .score-history-list .score-item-extra { display: none; }
        .score-history-list.expanded .score-item-extra { display: flex; }
        .score-history-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f8fafc;
            border-radius: 8px;
            padding: 8px 10px;
        }
        .score-history-item img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            flex: 0 0 32px;
            background: #e2e8f0;
        }
        .score-history-item .info { flex: 1 1 auto; min-width: 0; }
        .score-history-item .name {
            font-size: 0.85rem;
            color: #1e293b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .score-history-item .time { font-size: 0.74rem; color: #94a3b8; margin-top: 2px; }
        .score-history-item .score-num {
            flex: 0 0 auto;
            font-size: 1.05rem;
            font-weight: 700;
            color: #f59e0b;
        }
        .badge-me {
            font-size: 0.68rem;
            color: #4361ee;
            border: 1px solid #4361ee;
            border-radius: 4px;
            padding: 0 4px;
            margin-left: 6px;
        }
        .score-history-empty { font-size: 0.8rem; color: #b0bac9; padding: 6px 0; }
        .score-history-more { text-align: center; margin-top: 10px; }
        .score-history-more button {
            border: 1px solid #e2e8f0;
            background: #fff;
            color: #4361ee;
            border-radius: 20px;
            padding: 8px 22px;
            font-size: 0.82rem;
            cursor: pointer;
            transition: all .2s ease;
        }
        .score-history-more button:hover { background: #f2f5ff; border-color: #4361ee; }
        .score-history-more i { margin-right: 4px; }

        /* ============ 评论区 ============ */
        .comment-form { display: flex; gap: 12px; margin-bottom: 20px; }
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            flex: 0 0 40px;
            background: #e2e8f0;
        }
        .comment-input-wrap { flex: 1 1 auto; }
        .comment-input-wrap textarea {
            width: 100%;
            min-height: 76px;
            resize: vertical;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 12px 14px;
            font-size: 0.9rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
        }
        .comment-input-wrap textarea:focus { border-color: #4361ee; }
        .comment-form-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
        }
        .comment-tip { font-size: 0.78rem; color: #94a3b8; }
        .btn-comment { padding: 8px 22px; font-size: 0.85rem; }
        .login-tip {
            background: #f5f7fa;
            border-radius: 10px;
            padding: 18px;
            text-align: center;
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
        .login-tip a { color: #4361ee; font-weight: 500; }

        .comment-list { list-style: none; }
        .comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f1f4f9; }
        .comment-item:last-child { border-bottom: none; }
        .comment-main { flex: 1 1 auto; min-width: 0; }
        .comment-head { display: flex; align-items: center; gap: 10px; }
        .comment-name { font-size: 0.88rem; font-weight: 600; color: #334155; }
        .comment-time { font-size: 0.76rem; color: #a0aec0; }
        .comment-body { font-size: 0.9rem; color: #475569; margin-top: 5px; word-break: break-word; white-space: pre-wrap; }
        .comment-foot { margin-top: 8px; font-size: 0.78rem; color: #a0aec0; display: flex; gap: 16px; }
        .comment-foot span i { margin-right: 4px; }
        .empty-comment { text-align: center; color: #a0aec0; font-size: 0.9rem; padding: 30px 0; }
        .empty-comment i { font-size: 2rem; display: block; margin-bottom: 8px; color: #dbe2ec; }
        .load-more { text-align: center; margin-top: 12px; }
        .load-more button {
            background: #f5f7fa;
            border: none;
            color: #64748b;
            border-radius: 20px;
            padding: 8px 26px;
            font-size: 0.85rem;
            cursor: pointer;
        }
        .load-more button:hover { background: #eef1f6; }

        /* ============ 右侧：发布者卡片 ============ */
        .publisher-head { text-align: center; padding: 26px 22px 18px; }
        .publisher-avatar {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 12px;
            border: 3px solid #eef2ff;
        }
        .publisher-link { display: block; text-decoration: none; color: inherit; }
        .publisher-link:hover .publisher-name { color: #2563eb; }
        .publisher-name { font-size: 1.02rem; font-weight: 600; color: #1f2937; }
        .publisher-bio { font-size: 0.82rem; color: #94a3b8; margin-top: 6px; line-height: 1.6; word-break: break-word; }
        .publisher-since { font-size: 0.76rem; color: #b0bac9; margin-top: 6px; }
        .publisher-stats {
            display: flex;
            border-top: 1px solid #f1f4f9;
        }
        .publisher-stats .stat {
            flex: 1;
            text-align: center;
            padding: 14px 4px;
        }
        .publisher-stats .stat + .stat { border-left: 1px solid #f1f4f9; }
        .publisher-stats .stat b { display: block; font-size: 1.05rem; color: #1f2937; }
        .publisher-stats .stat span { font-size: 0.76rem; color: #94a3b8; }
        .store-line {
            font-size: 0.8rem;
            color: #64748b;
            background: #f8fafc;
            border-radius: 8px;
            padding: 9px 12px;
            margin: 0 22px 18px;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }
        .store-line:hover { color: #2563eb; background: #eff6ff; }
        .store-line:hover i { color: #2563eb; }
        .store-line i { color: #f59e0b; }

        /* 发布者评分卡片 */
        .publisher-score {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin: 14px 22px 0;
            padding: 14px 16px;
            background: linear-gradient(135deg, #fff7ed, #fff1f8);
            border: 1px solid #ffe4d6;
            border-radius: 12px;
        }
        .publisher-score .ps-main { display: flex; align-items: center; gap: 10px; }
        .publisher-score .ps-main > i.fa-star { color: #f59e0b; font-size: 1.4rem; }
        .publisher-score .ps-label { font-size: 0.74rem; color: #94a3b8; }
        .publisher-score .ps-value { font-size: 1.3rem; font-weight: 700; color: #f97316; line-height: 1.1; }
        .publisher-score .ps-max { font-size: 0.8rem; font-weight: 500; color: #cbd5e1; margin-left: 2px; }
        .publisher-score .ps-badge.warn {
            font-size: 0.72rem; color: #dc2626;
            background: #fee2e2; border: 1px solid #fecaca;
            padding: 3px 10px; border-radius: 20px;
        }
        .publisher-actions { display: flex; gap: 10px; margin: 12px 22px 0; }
        .publisher-btn {
            flex: 1;
            display: inline-flex; align-items: center; justify-content: center; gap: 7px;
            padding: 10px 12px; border-radius: 10px;
            font-size: 0.86rem; font-weight: 600; cursor: pointer;
            text-decoration: none; transition: all .2s ease; border: none; line-height: 1;
        }
        .publisher-btn.btn-store {
            color: #fff;
            background: linear-gradient(135deg, #ff6a3d, #ff2d78);
        }
        .publisher-btn.btn-store:hover { box-shadow: 0 6px 16px rgba(255,106,61,.35); transform: translateY(-1px); }
        .publisher-btn.btn-follow { background: #fff; border: 1px solid #ff6a3d; color: #ff6a3d; }
        .publisher-btn.btn-follow:hover { background: #fff4ef; }
        .publisher-btn.btn-follow.is-followed { background: #f1f5f9; border-color: #e2e8f0; color: #94a3b8; }

        /* ============ 右侧：同类项目 ============ */
        .similar-list { padding: 6px 0; }
        .similar-item {
            display: flex;
            gap: 12px;
            padding: 12px 20px;
            transition: background 0.2s;
        }
        .similar-item:hover { background: #f8fafc; }
        .similar-thumb {
            flex: 0 0 96px;
            width: 96px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            background: #eef1f6;
            position: relative;
        }
        .similar-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .similar-thumb .ph {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #b8c3d6;
            background: linear-gradient(135deg, #e8edf6, #dfe6f2);
        }
        .similar-info { flex: 1 1 auto; min-width: 0; }
        .similar-title {
            font-size: 0.88rem;
            color: #334155;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .similar-item:hover .similar-title { color: #4361ee; }
        .similar-meta { font-size: 0.74rem; color: #a0aec0; margin-top: 6px; display: flex; gap: 12px; }
        .empty-similar { text-align: center; color: #a0aec0; font-size: 0.85rem; padding: 26px 0; }

        /* ============ 弹窗 ============ */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.55);
            -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
            justify-content: center;
            align-items: center;
            padding: 20px;
            z-index: 2000;
        }
        .modal-overlay.show { display: flex; }
        .modal-content {
            background: #fff;
            border-radius: 18px;
            padding: 24px 24px 20px;
            max-width: 420px;
            width: 100%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24);
            animation: modalIn .22s ease-out;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: translateY(14px) scale(.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .modal-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 4px;
        }
        .modal-content h3 {
            margin: 0;
            color: #1f2937;
            font-size: 1.06rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .modal-content h3 i { color: #f59e0b; }
        .modal-close {
            border: none;
            background: #f4f6fb;
            color: #94a3b8;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 30px;
            transition: background .2s, color .2s;
        }
        .modal-close:hover { background: #e8eefc; color: #4361ee; }
        .modal-content p { color: #64748b; margin-bottom: 18px; font-size: 0.9rem; }
        .modal-sub { text-align: left; line-height: 1.75; }
        .modal-sub b { color: #f59e0b; }
        .modal-buttons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }
        .modal-buttons button {
            flex: 1 1 0;
            min-width: 0;
            padding: 12px 16px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-size: 0.92rem;
            font-weight: 600;
            line-height: 1;
            white-space: nowrap;
            transition: all .2s ease;
        }
        .modal-buttons .btn-cancel { background: #f1f5f9; color: #64748b; }
        .modal-buttons .btn-cancel:hover { background: #e6ebf3; }
        .modal-buttons .btn-confirm {
            background: linear-gradient(135deg, #4361ee, #6a11cb);
            color: #fff;
            box-shadow: 0 6px 16px rgba(67, 97, 238, .28);
        }
        .modal-buttons .btn-confirm:hover {
            box-shadow: 0 8px 20px rgba(67, 97, 238, .36);
            transform: translateY(-1px);
        }

        /* 评分弹窗 */
        .score-modal .modal-content { max-width: 440px; }
        .score-modal input {
            width: 100%;
            padding: 13px 14px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            margin-top: 4px;
            font-size: 1.05rem;
            text-align: center;
            letter-spacing: .5px;
            outline: none;
            box-sizing: border-box;
            transition: border-color .2s, box-shadow .2s;
        }
        .score-modal input:focus { border-color: #4361ee; box-shadow: 0 0 0 3px rgba(67, 97, 238, .12); }
        .score-modal .modal-hint {
            text-align: left;
            font-size: 0.75rem;
            color: #94a3b8;
            margin-top: 8px;
            line-height: 1.6;
        }

        /* ============ 移动端固定 CTA ============ */
        .mobile-cta {
            display: none;
            position: fixed;
            left: 0; right: 0; bottom: 0;
            background: #fff;
            padding: 10px 16px;
            box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
            z-index: 900;
        }
        .mobile-cta .btn { width: 100%; justify-content: center; }

        @media (max-width: 992px) {
            .page-wrap { flex-direction: column; padding: 0 14px; }
            .side-col { flex: none; width: 100%; }
            .project-images { grid-template-columns: repeat(2, 1fr); }
            .mobile-cta { display: block; }
            body { padding-bottom: 66px; }
        }
        @media (max-width: 576px) {
            .title-section .title { font-size: 1.15rem; }
            .card-body { padding: 18px 16px; }
            .info-row { padding: 12px 14px; font-size: .86rem; }
            .info-row .tags-container { max-width: 100%; }
        }

/* ============ 发布者身份徽章 ============ */
.publisher-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.pub-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    white-space: nowrap;
}
.pub-badge i { font-size: 11px; }
.pub-badge .pb-glyph {
    font-style: normal;
    font-weight: 800;
    font-size: 11px;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.55);
}
/* 实名：蓝 */
.bdg-realname { background: #e8f1ff; color: #1d6fd6; border-color: #bcd8ff; }
.bdg-realname .pb-glyph { color: #1d6fd6; }
/* 付费VIP：金 */
.bdg-vip { background: linear-gradient(135deg,#fff3d0,#ffe08a); color: #a9760b; border-color: #f3cf6a; }
/* 代理：青绿 */
.bdg-agent { background: #e6f7f2; color: #0f9d76; border-color: #a9e6d6; }
/* MVP：紫 */
.bdg-mvp { background: linear-gradient(135deg,#efe4ff,#d9c6ff); color: #7a3ff2; border-color: #c6a8ff; }
/* 推荐徽章 */
.bdg-quality { background: #fff0ee; color: #e2574c; border-color: #ffc9c2; }
.bdg-fans { background: #fff1e6; color: #e8833a; border-color: #ffd2ab; }
.bdg-senior { background: #eaf1ff; color: #3f6ad8; border-color: #c2d4ff; }
.bdg-prolific { background: #f0eaff; color: #8a5cf6; border-color: #d3c2ff; }
