﻿/* 活动详情页样式 — 由 single-uam_activity.php 抽离，请勿在此处加 PHP */
:root {
    --treasure-paper: #f6edd7;
    --treasure-paper-deep: #eadbb6;
    --treasure-ink: #4e342e;
    --treasure-muted: #8d6e63;
    --treasure-line: rgba(132, 94, 39, 0.20);
    --treasure-accent: #ff6b35;
    --treasure-success: #43a047;
}
.uam-activity-wrap {
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.7), transparent 30%),
        linear-gradient(180deg, #efe5c8 0%, #f7f3e8 22%, #f7f3e8 100%);
    padding-bottom: 32px;
}
.activity-page {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    border: none;
}
/* === 粘性操作栏（覆盖主题，z-index 与外联 CSS 统一）=== */
.sticky-bar {
    position: sticky;
    top: 0;
    background: rgba(246, 237, 215, 0.96);
    border-bottom: 1px solid var(--treasure-line);
    z-index: 100;
    box-shadow: 0 6px 18px rgba(93, 64, 55, 0.08);
}
/* WP 管理员工具栏偏移 */
.admin-bar .sticky-bar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .sticky-bar { top: 46px; }
}
.sticky-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.sticky-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.sticky-info strong {
    font-size: 1em;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-info .price {
    color: #f57c00;
    font-weight: 700;
}

/* === 修复：按钮样式优化 === */
.sticky-action a, 
.sticky-action span {
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
}

/* 报名按钮 - 渐变橙红色 */
.btn-register {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}
.btn-register:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
    color: #fff;
}

/* 已报名按钮 - 绿色 */
.btn-joined {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #66bb6a;
}

/* 禁用按钮 - 灰色 */
.btn-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* === 修复：标签页样式（避免冲突） === */
.activity-tabs-wrapper {
    max-width: none;
    margin: 0 auto;
    padding: 16px 0 20px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.55), transparent 36%),
        linear-gradient(180deg, #f6edd7 0%, #efe2c1 100%);
    border: 1px solid rgba(200, 170, 110, 0.65);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(93, 64, 55, 0.08);
}

.activity-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--treasure-line);
    margin-bottom: 18px;
    position: relative;
}

.activity-tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1em;
    font-weight: 600;
    color: var(--treasure-muted);
    cursor: pointer;
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.activity-tab-btn:hover {
    color: var(--treasure-ink);
    background: rgba(255,255,255,0.35);
}

.activity-tab-btn.active {
    color: var(--treasure-accent);
    border-bottom-color: var(--treasure-accent);
    background: rgba(255, 107, 53, 0.08);
}

.activity-tab-panel {
    display: none !important;
}

.activity-tab-panel.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🆓 免费藏点提示 */
.free-spots-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ff9800;
}
.free-spots-hint .hint-icon {
    font-size: 1.2em;
}

/* 🏷️ 藏点徽章 */
.spot-badge {
    position: absolute;
    top: 10px;
    left: 15px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
}
.spot-badge-free {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}
.spot-badge-locked {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ff9800;
}

/* 🔒 锁定藏点卡片 */
.spot-card.spot-locked {
    background: #f5f5f5;
    border: 1px dashed #bdbdbd;
    opacity: 0.85;
}
.spot-card.spot-locked h3 {
    color: #757575;
}
.spot-card.spot-locked .locked-text {
    color: #9e9e9e;
    font-style: italic;
}
.spot-num-locked {
    background: #9e9e9e !important;
    box-shadow: none !important;
}
.spot-link-locked {
    color: #ff9800;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
}
.spot-link-locked:hover {
    color: #e65100;
    text-decoration: underline;
}

/* 🎁 解锁提示区域 */
.unlock-cta-section {
    margin-top: 30px;
}
.unlock-cta-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    border: 2px solid #ff9800;
}
.unlock-cta-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}
.unlock-cta-content {
    flex: 1;
}
.unlock-cta-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: #e65100;
}
.unlock-cta-content p {
    margin: 0;
    color: #bf360c;
    font-size: 0.95em;
}
.btn-unlock-full {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1em;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}
.btn-unlock-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
    color: #fff;
}

@media (max-width: 768px) {
    .unlock-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .unlock-cta-content h3 {
        font-size: 1.1em;
    }
}

/* ✅ 已激活状态样式 */
.uam-registered-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    border: 1px solid #4caf50;
}
.uam-registered-status .status-icon {
    font-size: 1.6em;
    flex-shrink: 0;
}
.uam-registered-status .status-text h3 {
    margin: 0 0 3px 0;
    font-size: 1em;
    color: #2e7d32;
}
.uam-registered-status .status-text p {
    margin: 0;
    color: #388e3c;
    font-size: 0.85em;
}

/* 🔔 自动兑换通知样式 */
.uam-auto-redeem-notice {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.5s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.uam-auto-redeem-notice.uam-notice-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.uam-auto-redeem-notice.uam-notice-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.uam-auto-redeem-notice .notice-icon {
    font-size: 24px;
}

.uam-auto-redeem-notice .notice-text {
    font-size: 15px;
    font-weight: 500;
}

/* ============ 排行榜样式 ============ */
.ranking-stats-bar {
    display: flex;
    gap: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #e65100;
    font-weight: 600;
    border-left: 4px solid #ff9800;
}
.ranking-empty, .feed-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.ranking-empty-icon, .feed-empty-icon {
    font-size: 3em;
    margin-bottom: 15px;
}
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.ranking-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: #dee2e6;
}
.ranking-item.ranking-completed {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-color: #a5d6a7;
}
.ranking-item.ranking-top {
    border-left: 4px solid #ff9800;
}
.ranking-pos {
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}
.ranking-medal {
    font-size: 1.5em;
}
.ranking-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85em;
}
.ranking-avatar {
    position: relative;
    flex-shrink: 0;
}
.ranking-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}
.ranking-completed .ranking-avatar img {
    border-color: #4caf50;
}
.ranking-crown {
    position: absolute;
    top: -8px;
    right: -6px;
    font-size: 0.9em;
}
.ranking-info {
    flex: 1;
    min-width: 0;
}
.ranking-name {
    font-weight: 600;
    color: #212529;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ranking-tag-done {
    display: inline-block;
    padding: 1px 8px;
    background: #4caf50;
    color: #fff;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
}
.ranking-tag-me {
    display: inline-block;
    padding: 1px 8px;
    background: #1976d2;
    color: #fff;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
}
.ranking-me {
    background: #e8f4fd;
    border-left: 3px solid #1976d2;
}
.ranking-score {
    text-align: center;
    min-width: 64px;
    flex-shrink: 0;
}
.ranking-score-num {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: #e65100;
    line-height: 1.1;
}
.ranking-score-label {
    font-size: 0.75em;
    color: #999;
}
.ranking-detail {
    font-size: 0.82em;
    color: #888;
    margin-top: 2px;
}
.ranking-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 100px;
}
.ranking-progress-bar {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}
.ranking-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9800, #ff6b35);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.ranking-progress-fill.fill-complete {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}
.ranking-pct {
    font-size: 0.78em;
    color: #888;
    font-weight: 600;
    min-width: 32px;
    text-align: right;
}

/* ============ 动态样式 ============ */
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.feed-item:last-child {
    border-bottom: none;
}
.feed-item:hover {
    background: #fafafa;
}
.feed-item.feed-item-star {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    border-radius: 8px;
    padding: 14px 12px;
    margin-bottom: 4px;
    border-bottom: none;
    border-left: 3px solid #ffd600;
}
.feed-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.feed-body {
    flex: 1;
    min-width: 0;
}
.feed-text {
    font-size: 0.92em;
    color: #333;
    line-height: 1.5;
}
.feed-text strong {
    color: #212529;
}
.feed-action {
    color: #888;
}
.feed-spot {
    color: #ff6b35;
    font-weight: 600;
}
.feed-tag-star {
    display: inline-block;
    padding: 1px 8px;
    background: linear-gradient(135deg, #ffd600, #ffab00);
    color: #5d4037;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 700;
    margin: 0 4px;
}
.feed-time {
    font-size: 0.78em;
    color: #aaa;
    margin-top: 3px;
}
.feed-icon {
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============ Hero 主行：倒计时大字 + 社交证明 ============ */
.hero-primary-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0 14px;
    flex-wrap: wrap;
}
.hero-countdown-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(255, 80, 30, 0.88);
    padding: 7px 16px;
    border-radius: 24px;
    animation: pulse-urgency 2.5s ease-in-out infinite;
}
.hero-countdown-block.hero-countdown-upcoming {
    background: rgba(33, 150, 243, 0.82);
    animation: none;
}
.hero-countdown-label {
    font-size: 0.75em;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.hero-countdown-value {
    font-size: 1.25em;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}
.hero-countdown-value em {
    font-style: normal;
    font-size: 1.3em;
    line-height: 1;
}
/* xunbao 动态倒计时（JS 写入文字）*/
#xb-hero-countdown {
    font-size: 1.25em;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}
.hero-social-proof {
    display: flex;
    align-items: baseline;
    gap: 5px;
    background: rgba(255,255,255,0.14);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.hero-social-num {
    font-size: 1.7em;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-social-lbl {
    font-size: 0.85em;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
}
@keyframes pulse-urgency {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,80,30,0); }
    50% { opacity: 0.9; box-shadow: 0 0 0 6px rgba(255,80,30,0.18); }
}

/* ============ 参与流程 3步 ============ */
.how-to-steps {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #fffdf5 0%, #fff8e8 100%);
    border: 1px solid rgba(132,94,39,0.12);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.hts-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}
.hts-icon {
    font-size: 1.8em;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.hts-body { flex: 1; }
.hts-num {
    font-size: 0.68em;
    color: #b08060;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}
.hts-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #4e342e;
    margin-bottom: 3px;
}
.hts-desc {
    font-size: 0.78em;
    color: #8d6e63;
    line-height: 1.5;
}
.hts-arrow {
    font-size: 1.3em;
    color: #d4a96a;
    flex-shrink: 0;
    align-self: center;
    padding: 0 4px;
}
@media (max-width: 600px) {
    .hts-arrow { display: none; }
    .how-to-steps { flex-direction: column; }
    .hts-step { min-width: 100%; }
}

/* ============ 积分规则 ============ */
.xb-scoring-section {
    overflow: hidden;
}
.xb-scoring-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: #4e342e;
    font-size: 1em;
    user-select: none;
    padding: 4px 0;
}
.xb-scoring-toggle {
    font-size: 0.8em;
    color: #b08060;
    font-weight: 400;
    transition: transform 0.2s;
}
.xb-scoring-body {
    display: none;
    margin-top: 14px;
}
.xb-scoring-section.xb-scoring-open .xb-scoring-body {
    display: block;
}
.xb-scoring-section.xb-scoring-open .xb-scoring-toggle {
    content: '收起';
}
.xb-scoring-intro {
    font-size: 0.9em;
    color: #5d4037;
    margin-bottom: 12px;
    line-height: 1.7;
}
.xb-scoring-table {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(132,94,39,0.15);
    margin-bottom: 12px;
}
.xb-score-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 0.9em;
    border-bottom: 1px solid rgba(132,94,39,0.08);
    background: rgba(255,255,255,0.6);
}
.xb-score-row:last-child { border-bottom: none; }
.xb-score-head {
    background: rgba(132,94,39,0.06);
    font-size: 0.78em;
    color: #8d6e63;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 14px;
}
.xb-score-etc {
    background: rgba(132,94,39,0.03);
    color: #8d6e63;
    font-style: italic;
}
.xb-pts { font-weight: 700; }
.xb-pts-1 { color: #e65100; }
.xb-pts-2 { color: #bf360c; }
.xb-pts-3 { color: #6d4c41; }
.xb-scoring-tip {
    font-size: 0.82em;
    color: #8d6e63;
    background: rgba(255,236,179,0.5);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0;
    line-height: 1.6;
}

/* ============ 锁定预览诱饵 ============ */
.locked-preview-tip {
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #5d4037;
}
.locked-preview-tip strong {
    color: #e65100;
}
.locked-spots-preview {
    position: relative;
}
.spot-preview-blurred {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
}
.spot-more-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px dashed #ff9800;
    color: #e65100;
    text-align: center;
    min-height: 120px;
}
.spot-more-count {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 6px;
}
.spot-more-hint p {
    margin: 0;
    font-size: 0.9em;
    color: #e65100 !important;
}
.locked-map-preview {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}
.locked-map-blur-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        #d0d0d0,
        #d0d0d0 10px,
        #c0c0c0 10px,
        #c0c0c0 20px
    );
    filter: blur(2px);
}
.locked-map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    gap: 8px;
}
.locked-map-icon {
    font-size: 2.5em;
}
.locked-map-overlay p {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: #fff !important;
}

/* ============ 已报名 → 开始探索 ============ */
.btn-start-explore {
    margin-top: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}
.btn-start-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
}

/* ===== 底部抽屉地图 ===== */
.map-sheet-container {
    position: relative;
    display: block;
    margin-bottom: 16px;
}
.treasure-map-shell {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.treasure-map-stage {
    position: relative;
}
.treasure-map-hud {
    position: absolute;
    bottom: 10px;
    left: 130px;
    right: 10px;
    z-index: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}
.hud-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(250, 244, 229, 0.93);
    border: 1px solid rgba(132, 94, 39, 0.18);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.12);
    backdrop-filter: blur(6px);
    font-size: 12px;
    color: #4e342e;
    white-space: nowrap;
}
.hud-chip b {
    color: #c8923b;
    font-weight: 700;
}
.hud-chip--target span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
.hud-chip--legend {
    gap: 8px;
}
.lp {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.lp-pending { background: #c8923b; }
.lp-found   { background: #43a047; }
.lp-focus   { background: #ff6b35; }
/* 地图全幅化：70vh+、去卡片框（地图是游戏棋盘，不是卡片里的配图） */
.map-sheet-container #maph {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 480px;
    display: block;
    background:
        linear-gradient(180deg, rgba(245, 235, 205, 0.8), rgba(236, 223, 188, 0.8));
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none;
    overflow: hidden;
}
.spot-sheet {
    position: relative;
    height: auto;
    overflow: visible;
    background: rgba(255,255,255,0.28);
    border-radius: 10px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    border: 1px solid rgba(132, 94, 39, 0.10);
    backdrop-filter: blur(2px);
}
.spot-sheet,
.spot-sheet * {
    position: relative;
}
.spot-sheet .sheet-handle,
.spot-sheet .sheet-body {
    z-index: 1;
}
.spot-sheet.sheet-expanded {
    height: auto;
}
.sheet-handle {
    padding: 14px 16px 10px;
    cursor: default;
    flex-shrink: 0;
    user-select: none;
    border-bottom: 1px solid rgba(132, 94, 39, 0.10);
}
.sheet-drag-bar {
    display: none;
}
.sheet-summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
}
.sheet-count-label {
    font-weight: 700;
    color: #212529;
}
.sheet-found-label {
    color: #4caf50;
    font-weight: 600;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.82em;
}
.sheet-toggle-tip {
    margin-left: auto;
    color: #aaa;
    font-size: 0.8em;
    display: none;
}
.section,
#registration.section {
    background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.60));
    border: 1px solid rgba(132, 94, 39, 0.10);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.06);
    padding: 22px;
}
.section h2 {
    color: var(--treasure-ink);
    margin-top: 0;
}
.text-content {
    color: #5f5046;
    line-height: 1.85;
}
/* ===== 寻宝信息窗 ===== */
.treasure-infowindow {
    min-width: 230px;
    max-width: 290px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(58, 32, 10, 0.28), 0 2px 6px rgba(58,32,10,0.12);
    border: 2px solid #a0632a;
}
/* 顶部皮革色横幅 */
.treasure-infowindow__top {
    background: linear-gradient(135deg, #4a2c0f 0%, #7a4420 60%, #5d3212 100%);
    padding: 10px 12px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.treasure-infowindow__eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0d090;
    font-weight: 800;
    opacity: 0.85;
}
.treasure-infowindow__title {
    padding: 10px 12px 0;
    font-size: 14px;
    font-weight: 700;
    color: #3e1e00;
    line-height: 1.35;
}
.treasure-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.treasure-badge--found {
    background: #1b5e20;
    color: #c8f5ca;
}
.treasure-badge--pending {
    background: rgba(255,255,255,0.14);
    color: #ffe9a0;
    border: 1px solid rgba(255,220,130,0.35);
}
/* 羊皮纸主体 */
.treasure-infowindow__body {
    background: linear-gradient(170deg, #fdf6e3 0%, #f7eccd 100%);
    padding: 10px 12px 12px;
    border-top: 1px dashed rgba(140, 90, 30, 0.35);
}
.treasure-callout {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(200,146,59,0.12);
    border: 1px dashed rgba(140,90,30,0.3);
    border-radius: 8px;
    margin-bottom: 9px;
    font-size: 11.5px;
    color: #5d3212;
}
.treasure-callout a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 700;
}
/* 属性行 */
.treasure-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 2px;
}
.treasure-meta span {
    display: inline-flex;
    flex-direction: column;
    padding: 5px 9px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(140,90,30,0.18);
    border-radius: 8px;
    font-size: 12px;
    color: #4a2c0f;
    font-weight: 600;
    min-width: 62px;
}
.treasure-meta strong {
    font-size: 10px;
    color: #a07040;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.treasure-detail-btn {
    display: block;
    margin-top: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #7a4420, #c8923b);
    color: #fdf0cb !important;
    text-align: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,210,120,0.3);
    transition: filter 0.15s;
}
.treasure-detail-btn:hover { filter: brightness(1.12); }
.sheet-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    overflow: visible;
    flex: none;
    max-height: none;
    padding: 12px;
}
.sheet-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(132, 94, 39, 0.10);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    min-width: 0;
}
.sheet-row:last-child { border-bottom: 1px solid #f1f1f1; }
.sheet-row:hover, .sheet-row.row-active, .sheet-row.row-hover { background: #fff8f5; }
.sheet-row:hover, .sheet-row.row-active, .sheet-row.row-hover { border-color: #ffd7c8; box-shadow: 0 6px 18px rgba(255,107,53,0.08); }
.sheet-row.row-found { background: #f1f8e9; }
.sheet-row-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff6b35;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82em;
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s;
}
.sheet-row.row-found .sheet-row-num { background: #4caf50; }
.sheet-row.row-active .sheet-row-num,
.sheet-row.row-hover .sheet-row-num { box-shadow: 0 0 0 3px rgba(255,107,53,0.3); }
.sheet-row-info { flex: 1; min-width: 0; }
.sheet-row-title {
    display: block;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--treasure-ink);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sheet-row-title:hover { color: #ff6b35; }
.sheet-row-desc {
    font-size: 0.76em;
    color: #999;
    margin-top: 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sheet-row-action { flex-shrink: 0; text-align: right; align-self: center; }
.sheet-action-pending { font-size: 0.76em; color: #ff6b35; font-weight: 600; white-space: nowrap; }
.sheet-action-found   { font-size: 0.76em; color: #4caf50; font-weight: 600; white-space: nowrap; }

/* 响应式 */
@media (max-width: 768px) {
    .uam-auto-redeem-notice {
        left: 20px;
        right: 20px;
        /* top: 10px; */
        max-width: none;
    }
    .hero-banner { min-height: 250px; }
    .hero-content { padding: 20px 15px; }
    .hero-content h1 { font-size: 1.5em; }
    .hero-meta { font-size: 0.85em; }
    .sticky-content { padding: 10px 15px; flex-wrap: wrap; }
    .sticky-info strong { font-size: 0.9em; }
    .activity-tabs-wrapper { padding: 0 15px 15px; }
    .activity-tabs-header { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .activity-tab-btn { padding: 12px 20px; font-size: 0.95em; white-space: nowrap; }
    .section h2 { font-size: 1.3em; }
    .spots-grid { grid-template-columns: 1fr; }
    .ranking-stats-bar { flex-wrap: wrap; gap: 10px; font-size: 0.85em; }
    .ranking-progress { width: 70px; }
    .ranking-item { padding: 10px 12px; gap: 8px; }
    .ranking-avatar img { width: 36px; height: 36px; }
    .map-sheet-container #maph { height: 62vh; min-height: 400px; }
    .activity-tabs-wrapper {
        padding: 12px 12px 16px;
        border-radius: 14px;
    }
    .treasure-map-topbar {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 8px;
    }
    .treasure-map-kicker { font-size: 0.62em; letter-spacing: 0.14em; }
    .treasure-map-heading strong { font-size: 1em; }
    .treasure-map-badge { padding: 5px 9px; font-size: 0.72em; }
    .treasure-map-hud { display: none; } /* 手机端与天地图控件位置冲突，隐藏 */
    .activity-page { border: none; box-shadow: none; }
    .section,
    #registration.section { padding: 16px; }
    .treasure-infowindow {
        min-width: 210px;
        max-width: 250px;
        border-radius: 14px;
    }
    .treasure-infowindow__top {
        padding: 10px 12px 8px;
    }
    .treasure-infowindow__eyebrow {
        display: none;
    }
    .treasure-infowindow__title {
        gap: 6px;
    }
    .treasure-infowindow__title a {
        font-size: 14px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .treasure-badge {
        padding: 3px 8px;
        font-size: 10px;
        flex-shrink: 0;
    }
    .treasure-infowindow__body {
        padding: 10px 12px 12px;
    }
    .treasure-callout {
        padding: 6px 8px;
        border-left-width: 3px;
        border-radius: 8px;
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.45;
    }
    .treasure-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .treasure-meta span {
        padding: 6px 8px;
        font-size: 11px;
        line-height: 1.35;
        border-radius: 8px;
    }
    .treasure-meta strong {
        font-size: 10px;
        margin-bottom: 1px;
    }
    .sheet-body { grid-template-columns: 1fr; }
}

/* ===== 地图下方固定信息面板 ===== */
.map-info-panel {
    background: linear-gradient(180deg, #fffdf5 0%, #fdf6e8 100%);
    border: 1px solid rgba(132, 94, 39, 0.18);
    border-top: 3px solid var(--treasure-accent);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    animation: mipSlideIn 0.22s ease;
    position: relative;
    z-index: 10;
}
.mip-thumb {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
}
.mip-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.32) 100%);
}
@keyframes mipSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(132, 94, 39, 0.1);
    gap: 10px;
}
.mip-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.mip-icon {
    font-size: 1.3em;
    flex-shrink: 0;
}
.mip-name {
    font-size: 1em;
    font-weight: 700;
    color: var(--treasure-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mip-badge {
    flex-shrink: 0;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 700;
}
.mip-badge-found {
    background: #e8f5e9;
    color: #2e7d32;
}
.mip-badge-pending {
    background: #fff3e0;
    color: #e65100;
}
.mip-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(132, 94, 39, 0.08);
    color: var(--treasure-muted);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.mip-close:hover { background: rgba(132, 94, 39, 0.18); }
.mip-body {
    padding: 12px 16px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.mip-meta-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.mip-meta-item {
    display: flex;
    flex-direction: column;
    background: rgba(132, 94, 39, 0.06);
    border-radius: 8px;
    padding: 5px 10px;
    min-width: 60px;
}
.mip-meta-label {
    font-size: 0.65em;
    color: var(--treasure-muted);
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.mip-meta-value {
    font-size: 0.82em;
    font-weight: 600;
    color: var(--treasure-ink);
}
.mip-excerpt {
    flex-basis: 100%;
    font-size: 0.8em;
    color: var(--treasure-muted);
    line-height: 1.5;
    margin: 0;
    display: none;
}
.mip-detail-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 9px 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88em;
    border-radius: 22px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.32);
    transition: transform 0.15s, box-shadow 0.15s;
}
.mip-detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.45);
}
@media (max-width: 600px) {
    .mip-body { gap: 10px; }
    .mip-detail-btn { width: 100%; text-align: center; }
}

/* ===== 寻宝大赛：我的进度卡片 ===== */
.xb-my-progress-card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border: 1px solid #ffcc80;
    border-radius: 14px;
    padding: 14px 20px;
    margin: 0 0 12px;
    gap: 8px;
}
.xb-mp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.xb-mp-val {
    font-size: 1.5em;
    font-weight: 700;
    color: #4e342e;
    line-height: 1;
}
.xb-mp-val.xb-mp-score {
    color: #e65100;
}
.xb-mp-lbl {
    font-size: 0.72em;
    color: #8d6e63;
    letter-spacing: 0.05em;
}
.xb-mp-divider {
    width: 1px;
    height: 36px;
    background: rgba(132, 94, 39, 0.2);
    flex-shrink: 0;
}

/* ===================================================================
   购买/转化区：转化卡片 + 增强粘性栏
   =================================================================== */
.convert-card {
    margin: 14px 16px 0;
    padding: 16px 16px 18px;
    border-radius: 16px;
    background: linear-gradient(160deg, #fff8ec 0%, #fdeccc 100%);
    border: 1px solid rgba(200, 146, 59, 0.35);
    box-shadow: 0 10px 28px rgba(110, 70, 20, 0.14);
    position: relative;
    overflow: hidden;
}
.cc-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.12);
    color: #d9480f;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cc-fire { white-space: nowrap; }
.cc-countdown {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}
.cc-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.cc-price-now {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #d9480f;
}
.cc-price-original {
    font-size: 16px;
    color: #9a8c73;
    text-decoration: line-through;
}
.cc-save {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #ff6b35;
    padding: 3px 9px;
    border-radius: 6px;
}
.cc-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #6b5836;
    margin-bottom: 8px;
}
.cc-social strong { color: #5d4037; }
.cc-quota-tight { color: #d9480f; font-weight: 700; }
.cc-progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(132, 94, 39, 0.16);
    overflow: hidden;
    margin-bottom: 14px;
}
.cc-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb347, #ff6b35);
    transition: width 0.6s ease;
}
.cc-cta-wrap { margin-top: 4px; }
.cc-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 107, 53, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: ccPulse 2.4s ease-in-out infinite;
}
.cc-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(255, 107, 53, 0.45); }
.cc-cta:active { transform: translateY(1px); }
@keyframes ccPulse {
    0%, 100% { box-shadow: 0 8px 18px rgba(255, 107, 53, 0.35); }
    50%      { box-shadow: 0 8px 26px rgba(255, 107, 53, 0.55); }
}

/* 增强粘性栏 */
.sticky-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.sticky-price-row .price {
    font-size: 22px;
    font-weight: 800;
    color: #d9480f;
}
.sticky-price-original {
    font-size: 13px;
    color: #9a8c73;
    text-decoration: line-through;
}
.sticky-urgency {
    display: flex;
    gap: 10px;
    margin-top: 2px;
    font-size: 12px;
    color: #d9480f;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .convert-card { max-width: 640px; margin-left: auto; margin-right: auto; }
    .cc-price-now { font-size: 38px; }
}

/* ===== 付费路线卖点（#2） ===== */
.route-sellpoints .sellpoint-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
.sellpoint-item { display: flex; align-items: center; gap: 8px; background: #fff7e0; border: 1px solid rgba(200,146,59,0.25); border-radius: 10px; padding: 10px 14px; }
.sellpoint-item .sp-ic { font-size: 22px; }
.sellpoint-item .sp-k { font-size: 12px; color: #8a7b58; }
.sellpoint-item .sp-v { font-size: 15px; font-weight: 700; color: #5d4037; }
.sellpoint-tags { margin: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sellpoint-tags .spt-label { color: #8a7b58; font-size: 13px; }
.sellpoint-tags .spt-tag { background: #ff6b35; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.sellpoint-highlights { color: #5d4037; line-height: 1.7; background: #fffdf7; border-left: 3px solid #c8923b; padding: 8px 14px; border-radius: 0 8px 8px 0; }

/* ===== 限量名额（#5），复用 hero-countdown 外观 ===== */
.hero-countdown-block.hero-scarcity .hero-countdown-label { color: #ffd9c2; }
.hero-countdown-block.hero-scarcity .hero-countdown-value em { color: #ff6b35; }

/* ===== 支付区高亮（#6） ===== */
.uam-pay-highlight { animation: uamPayPulse 1.2s ease-in-out 2; border-radius: 12px; }
@keyframes uamPayPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.0); }
    50%      { box-shadow: 0 0 0 6px rgba(255,107,53,0.35); }
}

/* ===== 免费→付费漏斗（#3） ===== */
.paid-funnel { background: linear-gradient(160deg,#fff8ec,#fdeccc); border:1px solid rgba(200,146,59,0.3); border-radius:14px; padding:16px; }
.paid-funnel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-item { text-decoration: none; color: #5d4037; display: block; }
.pf-thumb { width: 100%; aspect-ratio: 4/3; border-radius: 10px; background: #eadbb6 center/cover no-repeat; border: 1px solid rgba(200,146,59,0.25); }
.pf-title { margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pf-price { font-size: 15px; font-weight: 800; color: #d9480f; }
@media (max-width: 480px) { .paid-funnel-grid { gap: 8px; } .pf-title { font-size: 12px; } }

/* 转化卡在视口内时隐藏粘性栏，避免与卡片的“立即报名”重复 */
.sticky-bar.sticky-bar--off { display: none; }

/* ===== 管理员快捷编辑按钮 ===== */
.uam-admin-edit-fab {
    position: fixed; top: 88px; right: 16px; z-index: 9999;
    display: inline-flex; align-items: center; gap: 4px;
    background: #2271b1; color: #fff; padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    transition: background .15s, transform .15s;
}
.uam-admin-edit-fab:hover { background: #135e96; color: #fff; transform: translateY(-1px); }
.admin-bar .uam-admin-edit-fab { top: 120px; }
@media (max-width: 600px) { .uam-admin-edit-fab { top: 70px; padding: 6px 12px; font-size: 12px; } }

/* ===== 无封面图时的 Hero 暖色渐变，替代刺眼纯黑 ===== */
.hero-banner--nocover {
    background: linear-gradient(135deg, #6d4c2f 0%, #4a3320 55%, #2e2013 100%);
}

/* ===== 报名转化卡 + 兑换码 并排 ===== */
.cc-redeem-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin: 14px 16px 0;
}
.cc-redeem-row .convert-card {
    flex: 1 1 58%;
    margin: 0;          /* 取消卡片原有外边距/居中，交给行容器 */
    max-width: none;
}
.cc-redeem-col {
    flex: 1 1 42%;
    min-width: 260px;
    display: flex;
    align-items: stretch;   /* 与左卡等高 */
}
.cc-redeem-col .uam-activity-redemption-section {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .cc-redeem-row { flex-direction: column; gap: 10px; }
    .cc-redeem-col { min-width: 0; }
}

/* ===== 首屏好奇钩子 + 打码线索预览（#1） ===== */
.hero-hook {
    display: flex; align-items: flex-start; gap: 8px;
    margin-top: 12px; padding: 10px 14px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-left: 3px solid #ff8c42;
    border-radius: 10px;
    color: #fff; font-size: 14px; line-height: 1.55;
}
.hero-hook-icon { flex-shrink: 0; }
.hero-clue-teaser { margin-top: 10px; }
.hct-row { display: flex; gap: 8px; }
.hct-tile {
    position: relative; flex: 1 1 0; aspect-ratio: 4/3; max-width: 120px;
    border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.hct-img {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,#6d4c2f,#3a2818) center/cover no-repeat;
    filter: blur(7px); transform: scale(1.18);
}
.hct-lock { position: relative; z-index: 1; font-size: 22px; opacity: .92; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.hct-label { margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,0.92); }
.hct-label strong { color: #ffcf99; }

/* 社会证明：首发招募文案变体 */
.hero-social-proof--seed {
    background: rgba(255,107,53,0.18);
    border: 1px solid rgba(255,140,66,0.4);
    border-radius: 999px; padding: 6px 14px;
    font-size: 13px; font-weight: 700; color: #ffd9c2; white-space: nowrap;
}
.hero-social-proof--seed strong { color: #fff; }

/* ===== 完成奖励可视化（#4） ===== */
.cc-rewards {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 4px 0 12px; padding: 8px 10px;
    background: #fff7e0; border: 1px dashed rgba(200,146,59,0.4); border-radius: 10px;
}
.cc-rewards-label { font-size: 12px; font-weight: 800; color: #8a6d1f; }
.cc-reward { font-size: 12px; font-weight: 700; color: #5d4037; background: #fff; border: 1px solid rgba(200,146,59,0.3); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 480px) {
    .hct-tile { max-width: none; }
    .hero-hook { font-size: 13px; }
}

/* ===== 藏宝图：进度条 / 去最近藏点 / 导航 / 引导卡 / 发现反馈 ===== */
.map-sheet-container { position: relative; }

/* HUD 进度条 */
.tmap-progress {
    flex: 1 1 120px; min-width: 90px; height: 8px;
    background: rgba(132,94,39,0.18); border-radius: 999px; overflow: hidden; align-self: center;
}
.tmap-progress-fill {
    width: 0%; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg,#ffb347,#ff6b35);
    transition: width 1s cubic-bezier(.2,.8,.2,1);
}

/* 去最近藏点 / 导航 按钮 */
.tmap-nearest-btn, .tmap-nav-btn {
    border: none; cursor: pointer; white-space: nowrap;
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
    text-decoration: none; display: inline-flex; align-items: center;
}
.tmap-nearest-btn { background: linear-gradient(135deg,#ff8c42,#ff6b35); color: #fff; box-shadow: 0 4px 12px rgba(255,107,53,.35); }
.tmap-nearest-btn:active { transform: translateY(1px); }
.tmap-nav-btn { background: #2e7d32; color: #fff; }

/* 引导卡（覆盖在地图上，首次进入显示） */
.tmap-guide {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(30,20,10,0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.tmap-guide[hidden] { display: none; }
.tmap-guide-card {
    width: 100%; max-width: 360px; background: #fff8ec;
    border: 1px solid rgba(200,146,59,0.4); border-radius: 16px;
    padding: 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.tmap-guide-title { font-size: 18px; font-weight: 800; color: #5d4037; margin-bottom: 12px; text-align: center; }
.tmap-guide-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.tgs { display: flex; align-items: flex-start; gap: 10px; }
.tgs-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #ff6b35; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tgs-t b { color: #5d4037; font-size: 15px; }
.tgs-t small { display: block; color: #8d6e63; font-size: 12.5px; margin-top: 1px; }
.tmap-guide-close {
    width: 100%; border: none; cursor: pointer;
    padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg,#ff8c42,#ff6b35); box-shadow: 0 6px 16px rgba(255,107,53,.35);
}

/* 发现反馈：飘字 + 撒花 */
.tmap-reward-float {
    position: absolute; left: 50%; top: 18%; transform: translateX(-50%);
    z-index: 70; background: rgba(45,30,15,0.92); color: #ffd9a8;
    padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 15px;
    white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.3);
    animation: tmapFloat 2.6s ease forwards; pointer-events: none;
}
@keyframes tmapFloat {
    0% { opacity: 0; transform: translate(-50%, 10px) scale(.9); }
    15% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -24px) scale(1); }
}
.tmap-confetti {
    position: absolute; top: -6%; z-index: 69; font-size: 20px; pointer-events: none;
    animation: tmapConfetti 2.1s linear forwards;
}
@keyframes tmapConfetti {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translateY(360px) rotate(320deg); }
}

@media (max-width: 600px) {
    .tmap-nearest-btn, .tmap-nav-btn { padding: 6px 12px; font-size: 12px; }
    .tmap-progress { flex-basis: 80px; }
}

/* ===== 藏点列表：地图联动横向轮播 + 可切总览 ===== */
.spot-sheet .sheet-summary-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.sheet-swipe-tip{ font-size:11px; color:#b89; letter-spacing:1px; }
.sheet-toggle-btn{
    margin-left:auto; border:1px solid rgba(132,94,39,.22); background:rgba(255,255,255,.6);
    color:#5d4037; font-size:12px; font-weight:700; padding:5px 13px; border-radius:999px; cursor:pointer;
    transition:background .15s;
}
.sheet-toggle-btn:hover{ background:#fff3e0; }

/* 默认：横向轮播 */
#sheetBody.sheet-body{
    display:flex; flex-wrap:nowrap; overflow-x:auto; gap:10px;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    padding:4px 4px 10px; scrollbar-width:none;
}
#sheetBody.sheet-body::-webkit-scrollbar{ display:none; }
#sheetBody.sheet-body > .sheet-row{
    flex:0 0 80%; max-width:300px; scroll-snap-align:center;
}
@media(min-width:768px){ #sheetBody.sheet-body > .sheet-row{ flex-basis:300px; } }
#sheetBody.sheet-body > .sheet-row.carousel-active{
    border-color:#ff6b35 !important; box-shadow:0 6px 18px rgba(255,107,53,.20);
}

/* 切换为网格总览 */
#sheetBody.sheet-body.is-grid{
    display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    overflow:visible; scroll-snap-type:none;
}
#sheetBody.sheet-body.is-grid > .sheet-row{ flex:none; max-width:none; }

/* ===== 藏点轮播：悬浮在地图内部底部（挂 treasure-map-stage，z-index 高于天地图 pane） ===== */
#spotSheet.spot-sheet{
    position:absolute; left:0; right:0; bottom:0; z-index:1100;
    margin:0; padding:6px 10px 10px; border:none; border-radius:0;
    background:linear-gradient(to top, rgba(246,237,215,.97) 55%, rgba(246,237,215,.0));
    -webkit-backdrop-filter:none; backdrop-filter:none;
}
/* 打开底部信息卡时暂藏轮播（单一信息面）；网格总览态不受影响 */
#spotSheet.sheet-hidden-by-panel:not(.sheet-overlay-off){ display:none; }
#spotSheet.spot-sheet .sheet-handle{ padding:2px 6px 6px; border:none; background:transparent; }
/* HUD 抬到轮播之上，避免被卡片盖住 */
.treasure-map-hud{ bottom:150px; }
/* 点「查看全部」展开为网格时：取消悬浮，回落到地图下方正常排布 */
#spotSheet.sheet-overlay-off{
    position:static; background:transparent;
    margin-top:16px; padding:0;
}
#spotSheet.sheet-overlay-off ~ .treasure-map-hud,
.sheet-overlay-off .treasure-map-hud{ bottom:10px; }

/* ===================================================================
   T1-① 地图区：卡片内嵌（与详情 tab 风格一致）
   =================================================================== */

/* 地图容器：与卡片底部圆角对齐，不破框
   桌面端 wrapper 水平 padding=0，地图自然填满；底部 margin 取消 20px padding 留白 */
#activity-tab-map .map-sheet-container {
    margin-bottom: -20px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

/* —— UI 浮层玻璃化（HUD、轮播、控件统一玻璃质感）—— */
.hud-chip {
    background: rgba(252, 248, 238, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.14);
}
.tmap-progress {
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.10);
}
.sheet-toggle-btn {
    background: rgba(252, 248, 238, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
/* 悬浮轮播底衬 → 玻璃渐变 */
#spotSheet.spot-sheet {
    background: linear-gradient(to top, rgba(250, 246, 236, 0.78) 55%, rgba(250, 246, 236, 0));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
#spotSheet.spot-sheet .sheet-row {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(62, 39, 35, 0.12);
}
/* 天地图原生缩放控件玻璃化（类名兼容 tdt/leaflet 两种前缀） */
#maph .tdt-control-zoom a,
#maph .leaflet-control-zoom a {
    background: rgba(252, 248, 238, 0.68) !important;
    color: #4e342e !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
@media (max-width: 768px) {
    /* 移动端 wrapper padding: 12px 12px 16px，负 margin 贴合卡片底角 */
    #activity-tab-map .map-sheet-container { margin: 0 -12px -16px; border-radius: 0 0 12px 12px; }
}

/* ===== 藏点信息卡：地图内部底部覆盖层（与轮播互换显示） ===== */
.treasure-map-stage #map-info-panel.map-info-panel {
    position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1200;
    max-width: 560px; margin: 0 auto;
    background: rgba(252, 248, 238, 0.82);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 3px solid var(--treasure-accent);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(40, 26, 12, 0.30);
    animation: mipSlideUp .22s ease;
}
@keyframes mipSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* tab 栏样式在地图/其他 tab 激活时保持一致（不做特殊浮动处理） */

/* ===================================================================
   T1-② 已报名用户：Hero 紧凑模式 + 地图暖色滤镜
   =================================================================== */

/* 已报名时 Hero 折叠为细条，仅留标题 + 已报名 badge */
.hero-banner--compact {
    min-height: 92px !important;
}
.hero-banner--compact .hero-primary-row,
.hero-banner--compact .hero-hook {
    display: none !important;
}
.hero-banner--compact .hero-meta {
    font-size: 0.78em;
    opacity: 0.75;
    margin-top: 2px;
}
.hero-banner--compact .hero-content {
    padding: 12px 20px 14px;
    gap: 4px;
}
.hero-banner--compact h1 {
    font-size: 1.1em;
    margin: 2px 0 0;
    line-height: 1.3;
}

/* 地图瓦片暖色滤镜：让中性街道配色融入页面羊皮纸主题 */
#activity-tab-map .map-sheet-container #maph {
    filter: sepia(0.20) saturate(0.85) brightness(0.97) hue-rotate(-4deg);
}

/* ===================================================================
   转化增强：退款信任栏 / 组织者卡 / 锁定地图 / 任务简报 / 分享 / 通关达人
   =================================================================== */

/* ── 退款保障信任栏（guarantee 样式）── */
.cc-trust-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.8em;
    color: #166534;
}
.cc-trust-icon {
    width: 26px;
    height: 26px;
    border: 1.5px solid #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #16a34a;
    flex-shrink: 0;
    font-style: normal;
}
.cc-trust-text strong { color: #15803d; }
.cc-trust-text { line-height: 1.5; }
/* 旧格式兼容 */
.cc-trust-item { white-space: nowrap; }
.cc-trust-sep  { color: #d1d5db; }

/* ── 组织者卡片 ── */
.organizer-card { padding: 0 20px 4px; }
.organizer-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(200,170,110,0.35);
    border-radius: 14px;
    padding: 14px 16px;
}
.organizer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(200,170,110,0.4);
}
.organizer-label {
    font-size: 0.72em;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}
.organizer-name {
    font-size: 0.97em;
    font-weight: 700;
    color: #3e2723;
}
.organizer-meta {
    font-size: 0.8em;
    color: #78716c;
    margin-top: 2px;
}
.organizer-desc {
    font-size: 0.78em;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.45;
}

/* ── 粘性栏分享按钮 ── */
.btn-share-sticky {
    background: none;
    border: 1px solid rgba(200,170,110,0.5);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 1em;
    cursor: pointer;
    color: #6b7280;
    margin-left: 8px;
    transition: background .15s;
}
.btn-share-sticky:hover { background: rgba(200,170,110,0.12); }

/* ── 已报名任务简报 ── */
.uam-mission-brief {
    background: linear-gradient(135deg, #fff8ee 0%, #fdf3e3 100%);
    border: 1px solid rgba(200,170,110,0.45);
    border-radius: 16px;
    padding: 18px 20px;
}
.umb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.umb-badge {
    font-size: 0.88em;
    font-weight: 700;
    color: #4e342e;
    background: rgba(200,170,110,0.18);
    padding: 3px 10px;
    border-radius: 999px;
}
.umb-status {
    font-size: 0.78em;
    color: #43a047;
    font-weight: 600;
}
.umb-progress-text {
    font-size: 0.9em;
    color: #5d4037;
    margin-bottom: 6px;
}
.umb-found { font-size: 1.6em; font-weight: 800; color: var(--treasure-accent); }
.umb-slash, .umb-total { font-size: 1em; color: #9ca3af; }
.umb-label { font-size: 0.82em; color: #78716c; }
.umb-progress-bar {
    height: 7px;
    background: rgba(200,170,110,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.umb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--treasure-accent), #ffb74d);
    border-radius: 4px;
    transition: width .4s ease;
}
.umb-hint {
    font-size: 0.82em;
    color: #78716c;
    margin: 0 0 14px;
}
.umb-actions {
    display: flex;
    gap: 10px;
}
.umb-btn-primary {
    flex: 1;
    padding: 10px 0;
    background: var(--treasure-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.92em;
    font-weight: 700;
    cursor: pointer;
}
.umb-btn-share {
    padding: 10px 18px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(200,170,110,0.5);
    border-radius: 10px;
    font-size: 0.92em;
    color: #5d4037;
    cursor: pointer;
}

/* ── 通关达人区（动态 tab 顶部） ── */
.feed-completions {
    background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
    border: 1px solid rgba(255,193,7,0.35);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.feed-completions-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.88em;
    font-weight: 700;
    color: #5d4037;
}
.feed-completions-icon { font-size: 1.1em; }
.feed-completions-avatars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.fca-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: default;
}
.fca-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd54f;
}
.fca-crown {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72em;
    line-height: 1;
}
.fca-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200,170,110,0.2);
    border: 2px dashed rgba(200,170,110,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    color: #78716c;
    font-weight: 700;
}

/* feed 条目：通关用户头像角标 */
.feed-avatar { position: relative; display: inline-block; }
.feed-avatar-crown {
    position: absolute;
    top: -5px;
    right: -4px;
    font-size: 0.65em;
    line-height: 1;
}
.feed-tag-star {
    display: inline-block;
    font-size: 0.72em;
    background: #ffd54f;
    color: #4e342e;
    padding: 1px 7px;
    border-radius: 999px;
    font-weight: 700;
    margin: 0 3px;
}

/* ── 锁定地图预览增强 ── */
.locked-map-preview {
    position: relative;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8d5b7 0%, #c9a87c 100%);
}
.locked-map-blur-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(139,90,43,.25) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(93,64,55,.2) 0%, transparent 55%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 0, transparent 50%);
    background-size: auto, auto, 18px 18px;
    filter: blur(1px);
}
.locked-map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(62,39,35,0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.lmp-stats {
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 6px 20px;
}
.lmp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lmp-num { font-size: 1.1em; font-weight: 800; color: #fff; line-height: 1.1; }
.lmp-lbl { font-size: 0.7em; color: rgba(255,255,255,0.75); }
.lmp-lock-icon { font-size: 2.2em; }
.lmp-text {
    font-size: 0.9em;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 500;
}
.lmp-cta {
    display: inline-block;
    background: var(--treasure-accent);
    color: #fff;
    padding: 9px 28px;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255,107,53,.4);
}

/* ===================================================================
   吸引力三件套：轮播 Hero / 证书预览 / 藏点地标列表
   =================================================================== */

/* ── Hero 轮播背景 ── */
.hero-banner { position: relative; overflow: hidden; }
.hero-carousel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hcb-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.hcb-slide.active { opacity: 1; }

/* 轮播指示点 */
.hero-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.hcd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background .25s, width .25s;
}
.hcd-dot.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

/* 故事前言样式（区别于普通钩子） */
.hero-hook--story .hero-hook-text {
    font-style: italic;
    line-height: 1.55;
    opacity: 0.95;
}

/* ── 转化卡奖励区 v3（简洁版） ── */
.cc-rewards-v3 {
    margin: 8px 0 4px;
    background: rgba(255,255,255,0.45);
    border-radius: 10px;
    padding: 10px 12px;
}
.cc-rewards-v3-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
}
.cc-rv3-icon { font-size: 1em; line-height: 1; }
.cc-rv3-label {
    font-size: 0.72em;
    font-weight: 700;
    color: #7b5e02;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cc-rv3-items { display: flex; flex-direction: column; gap: 4px; }
.cc-rv3-item {
    font-size: 0.78em;
    color: #5d4037;
    line-height: 1.5;
}

/* ── 转化卡奖励区 v2（废弃，保留兼容） ── */
.cc-rewards-v2 {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0 4px;
}
.cc-cert-preview {
    flex-shrink: 0;
    width: 88px;
    height: 62px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    border: 1.5px solid rgba(255,193,7,0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,152,0,.15);
    position: relative;
    overflow: hidden;
}
.cc-cert-preview::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ffc107);
}
.ccp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
}
.ccp-seal { font-size: 1.4em; line-height: 1; }
.ccp-title { font-size: 0.6em; color: #7b5e02; font-weight: 600; letter-spacing: .04em; }
.ccp-name { font-size: 0.58em; color: #5d4037; text-align: center; line-height: 1.2; }
.ccp-badge {
    position: absolute;
    bottom: 4px; right: 4px;
    font-size: 0.5em;
    background: var(--treasure-accent);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
}
.cc-reward-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cc-reward-item {
    font-size: 0.8em;
    color: #5d4037;
    line-height: 1.3;
    padding: 3px 0;
    border-bottom: 1px solid rgba(200,170,110,0.2);
}
.cc-reward-item:last-child { border-bottom: none; }

/* ── 藏点地标列表（锁定地图下方）── */
.spot-tease-header {
    margin-bottom: 12px;
    padding: 0 20px;
}
.stl-headline {
    font-size: 0.92em;
    font-weight: 700;
    color: #4e342e;
}
.spot-tease-list {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.stl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200,170,110,0.18);
}
.stl-item:last-child { border-bottom: none; }
.stl-num {
    font-size: 0.72em;
    color: #bbb;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.stl-icon { font-size: 0.9em; flex-shrink: 0; }
.stl-name {
    flex: 1;
    font-size: 0.88em;
    color: #3e2723;
    font-weight: 500;
}
.stl-lock {
    font-size: 0.75em;
    color: #d1c4a3;
    flex-shrink: 0;
}
.stl-item--more .stl-name { color: #9e9e9e; font-style: italic; }

/* locked-map-blur-bg：支持背景图（由 PHP 注入） */
.locked-map-blur-bg {
    position: absolute;
    inset: 0;
    background-color: #c9a87c;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.75);
    transform: scale(1.05); /* 消除模糊边缘白线 */
}

/* 策划方 + 客服 并排行 */
.organizer-kefu-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 4px 16px 12px;
    flex-wrap: wrap;
}
.org-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(200,170,110,0.25);
    border-radius: 10px;
    flex-shrink: 0;
}
.org-chip-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.org-chip-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.org-chip-label {
    font-size: 10px;
    color: #9a8c73;
    line-height: 1.2;
}
.org-chip-name {
    font-size: 13px;
    font-weight: 600;
    color: #4e342e;
    line-height: 1.3;
}
.org-chip-meta {
    font-size: 10px;
    color: #9a8c73;
    line-height: 1.2;
}
.kefu-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 10px;
    flex: 1;
    min-width: 160px;
}
.kefu-chip-icon { font-size: 20px; flex-shrink: 0; }
.kefu-chip-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.kefu-chip-label {
    font-size: 10px;
    color: #16a34a;
    line-height: 1.2;
}
.kefu-chip-value {
    font-size: 14px;
    font-weight: 600;
    color: #15803d;
    word-break: break-all;
    line-height: 1.35;
}

/* 旧版独立客服卡片（兼容保留） */
.kefu-contact-card { padding: 0; }
.kefu-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 14px 16px;
}
.kefu-icon { font-size: 24px; flex-shrink: 0; }
.kefu-title {
    font-size: 12px;
    color: #16a34a;
    margin-bottom: 3px;
}
.kefu-value {
    font-size: 15px;
    font-weight: 600;
    color: #15803d;
    word-break: break-all;
}

/* 任务简报：积分与勋章统计行 */
.umb-stats-row {
    display: flex;
    gap: 12px;
    margin: 10px 0 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
}
.umb-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}
.umb-stat-icon { font-size: 15px; }
.umb-stat-value { font-weight: 700; color: #1f2937; }
.umb-stat-label { color: #6b7280; }

/* ── 富文本内容区（wp_editor 输出）── */
.text-content.richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 12px auto;
}
.text-content.richtext p { margin: 0 0 1em; line-height: 1.8; }
.text-content.richtext ul,
.text-content.richtext ol { padding-left: 1.4em; margin: 0 0 1em; line-height: 1.8; }
.text-content.richtext h2,
.text-content.richtext h3 { margin: 1.2em 0 0.5em; font-weight: 700; }
.text-content.richtext figure { margin: 12px 0; }
.text-content.richtext figcaption { font-size: 0.8em; color: #9a8c73; text-align: center; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   藏点路线 Timeline — 参照设计稿 .stops / .stop 风格
   深色羊皮纸背景 + 金色编号圆点 + 锁定/解锁状态
   ══════════════════════════════════════════════════════════════ */
.route-map-preview {
    background: #2a1e14;
    border-radius: 14px;
    padding: 22px 18px 18px;
    margin: 0 16px 20px;
    position: relative;
    overflow: hidden;
}
.route-map-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,146,42,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,146,42,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.rmp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}
.rmp-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #fff;
}
.rmp-hint {
    font-size: 0.75em;
    color: #c9922a;
    letter-spacing: 0.06em;
}

/* 路线连接线 */
.stops {
    position: relative;
}
.stops::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        #c9922a 0, #c9922a 4px,
        transparent 4px, transparent 10px
    );
    opacity: 0.4;
}

/* 单个藏点条目 */
.stop {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 9px 0;
    align-items: start;
}

/* 编号圆点 */
.stop-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c9922a;
    background: #2a1e14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #c9922a;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.stop.unlocked .stop-node {
    background: #c9922a;
    color: #2a1e14;
    border-color: #c9922a;
}
.stop.locked .stop-node {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.3);
}
.stop--more .stop-node {
    font-size: 17px;
    letter-spacing: -2px;
    border-style: dashed;
}

/* 藏点内容卡 */
.stop-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 11px 13px;
}
.stop.locked .stop-card { opacity: 0.62; }

.stop-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.stop-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
    flex: 1;
    line-height: 1.35;
}
.stop.locked .stop-name { color: rgba(255,255,255,0.55); }
.stop-name--more {
    color: rgba(255,255,255,0.38);
    font-style: italic;
    font-weight: 400;
}

.stop-lock {
    font-size: 0.7em;
    color: rgba(255,255,255,0.32);
    white-space: nowrap;
    flex-shrink: 0;
}
.stop-free {
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #2a1e14;
    background: #c9922a;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.stop-desc {
    font-size: 0.78em;
    line-height: 1.65;
    color: rgba(255,255,255,0.45);
}
.stop-clue {
    margin-top: 8px;
    padding: 7px 10px;
    background: rgba(201,146,42,0.1);
    border-left: 2px solid #c9922a;
    font-size: 0.78em;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}
.stop-clue.hidden-clue {
    color: rgba(255,255,255,0.28);
    font-style: normal;
    border-left-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
}
.stop-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78em;
    color: #c9922a;
    text-decoration: none;
    font-weight: 600;
}
.stop-link:hover { opacity: 0.8; text-decoration: underline; }

@media (min-width: 768px) {
    .route-map-preview { margin-left: 0; margin-right: 0; }
}

/* ==========================================================================
   付费未报名 · 杂志风转化排版（.editorial）
   移动端单栏：关于 → 价格卡 → 这一单包含什么 → 路线藏点
   桌面端 ≥980px：左内容 + 右吸顶价格卡 两栏（grid-area 重排，不改 DOM）
   ========================================================================== */
.editorial {
    --ed-ink: #3a2f23;
    --ed-muted: #8a7b62;
    --ed-line: rgba(160, 130, 80, 0.22);
    --ed-gold: #c0892f;
    --ed-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
    margin: 6px 16px 0;
    color: var(--ed-ink);
}
.editorial .ed-block { padding: 22px 0; border-bottom: 1px solid var(--ed-line); }
.editorial .ed-block:last-child { border-bottom: 0; }

.ed-eyebrow {
    font-size: 12px; letter-spacing: 0.5em; text-indent: 0.5em;
    color: var(--ed-gold); font-weight: 600; margin-bottom: 14px;
}
.ed-title {
    font-family: var(--ed-serif);
    font-size: 27px; line-height: 1.3; font-weight: 700;
    color: var(--ed-ink); margin: 0 0 16px;
    letter-spacing: 0.5px;
}
.ed-prose { color: #5b4f3e; line-height: 1.95; font-size: 15.5px; }
.ed-prose p { margin: 0 0 14px; }
.ed-prose p:last-child { margin-bottom: 0; }

/* —— 这一单包含什么：2×2 卡片网格 —— */
.ed-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ed-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 16px; border: 1px solid var(--ed-line);
    border-radius: 4px; background: #fffdf8;
}
.ed-card-ic {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 4px;
    background: #f3e6cb; color: var(--ed-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1;
}
.ed-card-k { font-size: 16px; font-weight: 700; color: var(--ed-ink); margin-bottom: 4px; }
.ed-card-d { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }

.ed-tags { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-tags-label { font-size: 13px; color: var(--ed-muted); border-left: 2px solid var(--ed-gold); padding-left: 8px; }
.ed-tag { font-size: 12.5px; color: #6b5836; background: #f3e6cb; padding: 4px 12px; border-radius: 999px; }
.ed-tag-plain { background: transparent; border: 1px solid var(--ed-line); color: var(--ed-muted); }

/* —— 路线藏点 timeline —— */
.ed-route-lead { color: var(--ed-muted); font-size: 14px; line-height: 1.7; margin: 0 0 16px; }
.ed-stops { list-style: none; margin: 0; padding: 0; }
.ed-stop {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 0; border-bottom: 1px dashed var(--ed-line);
}
.ed-stop:last-child { border-bottom: 0; }
.ed-stop-no {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid var(--ed-gold); color: var(--ed-gold);
    font-family: var(--ed-serif); font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.ed-stop-free .ed-stop-no { background: var(--ed-gold); color: #fff; }
.ed-stop-name { flex: 1; font-size: 15.5px; color: var(--ed-ink); }
.ed-stop-badge { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--ed-gold); padding: 3px 9px; border-radius: 4px; }
.ed-stop-lock { font-size: 13px; opacity: 0.5; }
.ed-stops-more { margin-top: 14px; font-size: 13.5px; color: var(--ed-muted); }

/* —— 价格卡（aside）—— */
.ed-aside { margin: 0; }
.ed-pricecard {
    background: #fff; border: 1px solid var(--ed-line);
    border-radius: 6px; padding: 22px 22px 20px;
    box-shadow: 0 14px 36px rgba(120, 90, 40, 0.10);
}
.ed-pc-badge {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
    color: #fff; background: #b23a32; padding: 5px 12px; border-radius: 3px; margin-bottom: 16px;
}
.ed-pc-price { display: flex; align-items: baseline; gap: 10px; }
.ed-pc-now { font-family: var(--ed-serif); font-size: 42px; font-weight: 700; line-height: 1; color: #b23a32; }
.ed-pc-original { font-size: 17px; color: #b3a88c; text-decoration: line-through; }
.ed-pc-save { margin-top: 8px; font-size: 13px; color: #b23a32; }

.ed-pc-cta-wrap { margin: 18px 0 0; }
.ed-cta {
    display: block; width: 100%; box-sizing: border-box; text-align: center;
    padding: 15px 18px; border-radius: 4px;
    background: linear-gradient(180deg, #d29a3e, #c0892f);
    color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 1px;
    text-decoration: none; box-shadow: 0 8px 18px rgba(192, 137, 47, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ed-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(192, 137, 47, 0.42); }
.ed-cta:active { transform: translateY(1px); }
.ed-pc-trial { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ed-muted); }
.ed-pc-trial a { color: var(--ed-gold); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ed-gold); }

.ed-pc-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ed-line); }
.ed-pc-list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px; color: #5b4f3e; line-height: 1.5; }
.ed-pc-list li:last-child { margin-bottom: 0; }
.ed-pc-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ed-gold); font-weight: 700; }

.ed-pc-guarantee {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 18px; padding: 14px; border-radius: 4px;
    background: #f5f8f2; font-size: 13px; line-height: 1.6; color: #5b6b50;
}
.ed-pc-g-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #7a9a5e; color: #7a9a5e; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.ed-pc-guarantee strong { color: #4a5b3a; }

.ed-pc-social { list-style: none; margin: 16px 0 0; padding: 0; }
.ed-pc-social li { position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 13px; color: var(--ed-muted); }
.ed-pc-social li:last-child { margin-bottom: 0; }
.ed-pc-social li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #b7c79e; }
.ed-pc-social-live { color: #b23a32; font-variant-numeric: tabular-nums; }
.ed-pc-social-live::before { background: #d98a5a; }

/* 兑换码紧随价格卡时，去掉外层多余边距 */
.ed-aside .uam-activity-redemption-section { margin: 14px 0 0; }

/* —— 桌面端两栏：grid-area 重排（DOM 顺序不变）—— */
@media (min-width: 980px) {
    .editorial {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        grid-template-areas:
            "about  aside"
            "incl   aside"
            "route  aside";
        column-gap: 48px;
        align-items: start;
        margin: 6px auto 0;
        max-width: 1080px;
    }
    .editorial .ed-about    { grid-area: about; padding-top: 28px; }
    .editorial .ed-includes { grid-area: incl; }
    .editorial .ed-route    { grid-area: route; }
    .editorial .ed-aside    { grid-area: aside; position: sticky; top: 84px; padding: 28px 0; }
    .ed-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .ed-title { font-size: 30px; }
}
.admin-bar .editorial .ed-aside { top: 116px; }
