/* ============================================================
   对接社 PC 前台自定义样式
   主题色：橙色渐变 #f48c25 → #db7511
   ============================================================ */

:root {
    --primary: #f48c25;
    --primary-dark: #db7511;
    --primary-gradient: linear-gradient(135deg, #f48c25 0%, #db7511 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --bg-page: #f5f6f8;
    --bg-card: #fff;
    --border-color: #eee;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 内容区顶部留出导航栏高度 */
.content {
    padding-top: 70px;
    min-height: calc(100vh - 200px);
}

/* ============ 导航栏 ============ */
.navbar-djs {
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 60px;
}
.navbar-djs .navbar-brand {
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
}
.navbar-djs .brand-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-djs .nav > li > a {
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
}
.navbar-djs .nav > li > a:hover,
.navbar-djs .nav > li.active > a {
    color: var(--primary);
    background: none;
}
.navbar-djs .nav-search {
    padding-top: 13px;
    padding-bottom: 13px;
}
.navbar-djs .nav-search .form-control {
    width: 200px;
    border-radius: 20px;
}
.navbar-djs .avatar-img img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    vertical-align: middle;
}
.navbar-djs .nav-username {
    margin-left: 6px;
}

/* ============ 首页 ============ */
.home-page { padding-bottom: 40px; }

/* Banner */
.banner-section { margin-bottom: 20px; }
.banner-section .carousel {
    border-radius: var(--radius);
    overflow: hidden;
}
.banner-section .carousel-inner > .item > a > img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.banner-section .carousel-caption {
    text-align: left;
    left: 40px;
    right: auto;
    bottom: 40px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.banner-placeholder {
    height: 360px;
    background: var(--primary-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.banner-placeholder h2 { font-size: 32px; margin-bottom: 12px; }

/* 金刚区 */
.quick-nav {
    background: var(--bg-card);
    padding: 24px 0;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.quick-nav-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12.5%;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform .2s;
}
.quick-item:hover {
    transform: translateY(-3px);
    text-decoration: none;
}
.quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.quick-item span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 区块通用 */
.section {
    padding: 24px 0;
}
.section-alt {
    background: var(--bg-card);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.more-link {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}
.more-link:hover { color: var(--primary); text-decoration: none; }

/* ============ 资源卡片网格（首页+列表页通用） ============ */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.resource-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .25s;
}
.resource-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.resource-card a { color: inherit; text-decoration: none; display: block; }
.card-cover {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #f0f0f0;
}
.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 36px;
}
.card-price {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.tag-urgent {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.card-body { padding: 12px 14px; }
.card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-desc.have i { color: #10b981; }
.card-desc.need i { color: #ef4444; }
.card-meta {
    display: flex;
    gap: 12px;
    margin: 8px 0;
    font-size: 12px;
    color: var(--text-muted);
}
.card-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}
.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.user-name {
    font-size: 12px;
    color: var(--text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.verified-icon {
    color: #3b82f6;
    font-size: 13px;
}
.vip-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
}
.vip-badge.vip-1 { background: var(--primary-gradient); color: #fff; }
.vip-badge.vip-2 { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fbbf24; }

/* ============ 项目卡片 ============ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.project-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: all .25s;
}
.project-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.project-card a { color: inherit; text-decoration: none; display: block; }
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.project-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.project-tags { display: flex; gap: 6px; }
.tag {
    background: #fef3e2;
    color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.tag-orange {
    background: #fff7ed;
    color: var(--primary-dark);
}
.project-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.project-heat { margin-left: auto; color: var(--text-muted); }

/* ============ 资源列表页 ============ */
.resource-list-page { padding: 20px 0 40px; }

.filter-sidebar { position: sticky; top: 80px; }
.filter-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.filter-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-list li { margin-bottom: 4px; }
.filter-list li a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all .15s;
}
.filter-list li a:hover { background: #f5f5f5; color: var(--primary); }
.filter-list li.active a {
    background: var(--primary-gradient);
    color: #fff;
}

.search-bar { margin-bottom: 16px; }
.search-bar .form-control {
    height: 42px;
    border-radius: 21px;
}
.search-bar .btn {
    height: 42px;
    border-radius: 0 21px 21px 0;
    background: var(--primary-gradient);
    border: none;
    color: #fff;
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}
.sort-label { font-size: 13px; color: var(--text-muted); }
.sort-item {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
}
.sort-item.active { color: var(--primary); font-weight: 600; }

.loading-tip, .empty-tip {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 14px;
    grid-column: 1 / -1;
}

.pagination-wrap { text-align: center; margin-top: 24px; }
.pagination-wrap .pagination > li > a {
    border: none;
    margin: 0 2px;
    border-radius: 6px;
    color: var(--text-secondary);
}
.pagination-wrap .pagination > li.active > a {
    background: var(--primary-gradient);
    color: #fff;
}

/* ============ 资源详情页 ============ */
.resource-detail-page { padding: 20px 0 40px; }
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 16px;
}
.detail-header {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}
.price-label { font-size: 13px; color: var(--text-muted); }
.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.detail-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}
.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.detail-meta .meta-item i { margin-right: 4px; }

.detail-cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.detail-cover img { width: 100%; display: block; }

.detail-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}
.section-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.showoff-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.showoff-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}
.showoff-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform .2s;
}
.showoff-item:hover img { transform: scale(1.05); }

/* 右侧边栏 */
.sidebar { position: sticky; top: 80px; }
.publisher-card, .action-card, .contact-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.publisher-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.publisher-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.publisher-name {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.publisher-bio {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.5;
}
.publisher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.btn-contact {
    background: var(--primary-gradient);
    border: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244,140,37,.3);
}
.btn-contact:hover { opacity: .9; color: #fff; }
.action-tips {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.action-tips p { margin: 4px 0; }
.action-tips i { margin-right: 4px; color: var(--primary); }
.contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
}
.contact-card p {
    font-size: 14px;
    margin: 6px 0;
    color: var(--text-secondary);
}
.contact-card i { margin-right: 8px; color: var(--primary); }

/* ============ 项目列表（横向卡片） ============ */
.project-list-page { padding: 20px 0 40px; }
.project-list { display: flex; flex-direction: column; gap: 12px; }
.project-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .25s;
}
.project-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.project-item > a {
    display: flex;
    color: inherit;
    text-decoration: none;
}
.project-item-left { flex-shrink: 0; }
.project-cover {
    width: 180px;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}
.project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-item-main {
    flex: 1;
    padding: 14px 18px;
    min-width: 0;
}
.project-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.project-no {
    font-size: 12px;
    color: var(--text-muted);
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}
.project-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.project-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-item-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-item-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.project-item-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}
.project-item-meta span i { margin-right: 4px; }
.project-item-right {
    width: 160px;
    flex-shrink: 0;
    padding: 14px 16px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.project-publisher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.project-publisher .user-avatar { width: 24px; height: 24px; }
.project-publisher .user-name {
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}
.project-stats i { margin-right: 4px; }

/* 项目详情页 */
.detail-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 12px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 12px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-label {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 70px;
}
.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.project-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.pan-section .pan-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.pan-box p { margin: 6px 0; font-size: 14px; }
.pan-box a { color: #0284c7; }
.pan-code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}
.pan-locked {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    background: #f9fafb;
    border-radius: var(--radius-sm);
}
.pan-locked i { font-size: 28px; color: #d1d5db; margin-bottom: 8px; }
.pan-locked p { margin: 0; font-size: 13px; }

/* ============ 实战经验（课程）列表 ============ */
.course-list-page { padding: 20px 0 40px; }
.featured-banner { margin-bottom: 20px; }
.featured-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all .25s;
}
.featured-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
.featured-cover {
    width: 320px;
    flex-shrink: 0;
    overflow: hidden;
}
.featured-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.featured-body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    width: fit-content;
}
.featured-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.featured-teacher {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}
.featured-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.featured-meta i { margin-right: 4px; }
.featured-meta .fa-star { color: #f59e0b; }
.featured-price { display: flex; align-items: baseline; gap: 8px; }
.featured-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.featured-price .origin-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.course-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .25s;
}
.course-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.course-card a { color: inherit; text-decoration: none; display: block; }
.course-cover {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #f0f0f0;
}
.course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,0,0,.65);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.course-body { padding: 12px 14px; }
.course-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-teacher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.teacher-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.course-teacher span {
    font-size: 13px;
    color: var(--text-secondary);
}
.course-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.course-meta .rating .fa-star { color: #f59e0b; }
.course-cat {
    background: #f0f0f0;
    padding: 1px 6px;
    border-radius: 3px;
}
.course-footer {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}
.course-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.course-origin-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* 课程详情页 */
.course-detail-page { padding: 20px 0 40px; }
.video-player {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    background: #000;
}
.video-player video {
    width: 100%;
    display: block;
    max-height: 480px;
}
.video-placeholder img {
    width: 100%;
    display: block;
}
.course-cat-badge {
    display: inline-block;
    background: #f0f0f0;
    color: var(--text-secondary);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}
.teacher-section .teacher-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.teacher-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.teacher-name {
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.teacher-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 你将获得 */
.gains-list { display: flex; flex-direction: column; gap: 16px; }
.gain-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.gain-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.gain-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}
.gain-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 适合人群 */
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.audience-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.audience-list li i { margin-right: 8px; }

/* 课程大纲 */
.section-sub {
    font-size: 13px;
    font-weight: normal;
    color: var(--text-muted);
    margin-left: 8px;
}
.section-list {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.section-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background .15s;
}
.section-item:last-child { border-bottom: none; }
.section-item:hover { background: #f9fafb; }
.section-item.playing { background: #fff7ed; }
.section-item.locked { cursor: not-allowed; opacity: .7; }
.section-index {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-right: 12px;
    flex-shrink: 0;
}
.section-item.playing .section-index {
    background: var(--primary-gradient);
    color: #fff;
}
.section-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title-text { font-size: 14px; }
.free-tag {
    background: #10b981;
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
}
.section-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.section-play { color: var(--primary); font-size: 16px; }
.section-lock { color: #d1d5db; }

/* 价格卡片 */
.price-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}
.price-free {
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
}
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.price-now {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.price-origin {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.vip-price-tip {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff7ed;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--primary-dark);
}
.vip-price-tip i { margin-right: 4px; }
.vip-free {
    color: #10b981;
    font-weight: 600;
    margin-left: 6px;
}
.vip-price-num {
    font-weight: 700;
    margin-left: 6px;
}

/* ============ 通用组件 ============ */
.locked-box {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    background: #f9fafb;
    border-radius: var(--radius-sm);
}
.locked-box i { font-size: 32px; color: #d1d5db; margin-bottom: 10px; }
.locked-box p { margin: 0; }
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 120px; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.05); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; background: #f0f0f0; color: var(--text-secondary); }
.tag-orange { background: #fff7ed; color: var(--primary-dark); }
.tag-light { background: rgba(255,255,255,.2); color: #fff; }
.official-tag { background: #dbeafe; color: #2563eb; padding: 1px 6px; border-radius: 3px; font-size: 11px; }
.verified-tag { color: #10b981; font-size: 12px; }
.verified-tag i { margin-right: 4px; }

/* ============ 常用工具 ============ */
.tool-list-page { padding: 20px 0 40px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .25s;
}
.tool-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.tool-card a { color: inherit; text-decoration: none; display: block; padding: 16px; }
.tool-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.tool-icon img { width: 32px; height: 32px; object-fit: contain; }
.tool-icon i { font-size: 28px; }
.tool-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.tool-name { font-size: 16px; font-weight: 600; margin: 0; }
.tool-desc {
    font-size: 13px; color: var(--text-secondary); margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text-muted); align-items: center; }
.tool-meta .rating .fa-star { color: #f59e0b; }
.tool-cat { background: #f0f0f0; padding: 1px 6px; border-radius: 3px; }

.tool-icon-lg { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-icon-lg img { width: 40px; height: 40px; object-fit: contain; }
.tool-icon-lg i { font-size: 36px; }
.tool-summary { background: #fff7ed; border-left: 4px solid var(--primary); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; color: var(--primary-dark); font-size: 14px; line-height: 1.6; }
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.advantage-item { display: flex; gap: 12px; }
.advantage-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,#fef3c7,#fde68a); color: #d97706; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.advantage-content h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.advantage-content p { font-size: 12px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.get-ways { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.get-way-item { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.qrcode-box { text-align: center; padding: 12px; background: #f9fafb; border-radius: var(--radius-sm); }
.qrcode-box img { width: 140px; height: 140px; margin-bottom: 8px; }
.qrcode-box p { font-size: 12px; color: var(--text-muted); margin: 0; }
.tutorial-list { display: flex; flex-direction: column; gap: 10px; }
.tutorial-item { display: flex; gap: 12px; padding: 10px; background: var(--bg-card); border-radius: var(--radius-sm); text-decoration: none; color: inherit; }
.tutorial-item:hover { box-shadow: var(--shadow); }
.tutorial-cover { width: 100px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.tutorial-cover img { width: 100%; height: 100%; object-fit: cover; }
.tutorial-info { flex: 1; }
.tutorial-info h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.tutorial-info span { font-size: 12px; color: var(--text-muted); }
.tutorial-info i { margin-right: 4px; }

/* ============ 爆款灵感 ============ */
.material-list-page { padding: 20px 0 40px; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.material-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.material-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.material-card a { color: inherit; text-decoration: none; display: block; }
.material-cover { position: relative; height: 200px; overflow: hidden; }
.material-cover img { width: 100%; height: 100%; object-fit: cover; }
.platform-tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 4px; font-size: 11px; color: #fff; }
.platform-xiaohongshu { background: #ff2442; }
.platform-douyin { background: #000; }
.free-badge { position: absolute; top: 8px; right: 8px; background: #10b981; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; }
.material-body { padding: 12px 14px; }
.material-title { font-size: 14px; font-weight: 600; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.material-topic { font-size: 12px; color: var(--primary); margin: 0 0 8px; }
.material-stats { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.material-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--border-color); }
.material-price { font-size: 16px; font-weight: 700; color: var(--primary); }
.material-price.free { color: #10b981; }
.material-buy-count { font-size: 12px; color: var(--text-muted); }

.material-cover-lg { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.material-cover-lg img { width: 100%; max-height: 400px; object-fit: cover; display: block; }
.trend-tag { display: inline-block; background: #fef3c7; color: #d97706; padding: 3px 10px; border-radius: 4px; font-size: 12px; margin-bottom: 12px; }
.trend-tag i { margin-right: 4px; }
.author-section .author-info { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.author-name { font-size: 15px; font-weight: 600; }

/* ============ 种草分发 ============ */
.distribute-list-page { padding: 20px 0 40px; }
.distribute-list { display: flex; flex-direction: column; gap: 12px; }
.distribute-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.distribute-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.distribute-card a { color: inherit; text-decoration: none; display: block; padding: 16px 20px; }
.distribute-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-logo-placeholder { width: 40px; height: 40px; border-radius: 8px; background: var(--primary-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.brand-info { display: flex; flex-direction: column; }
.brand-name { font-size: 15px; font-weight: 600; }
.task-type { font-size: 12px; color: var(--text-muted); }
.distribute-title { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.platform-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.platform-mini-tag { background: #f0f0f0; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.distribute-reward { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff7ed; border-radius: var(--radius-sm); margin-bottom: 10px; color: var(--primary-dark); font-size: 15px; font-weight: 600; }
.distribute-reward i { color: var(--primary); }
.distribute-footer { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.distribute-footer .heat i { color: #ef4444; }
.distribute-footer .quota { color: var(--primary); font-weight: 500; }

.brand-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.brand-banner img { width: 100%; display: block; max-height: 200px; object-fit: cover; }
.brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.brand-logo-lg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.brand-name-lg { font-size: 20px; font-weight: 700; }
.task-type-tag { background: #f0f0f0; color: var(--text-secondary); padding: 2px 10px; border-radius: 4px; font-size: 12px; }
.tag-text { font-size: 14px; color: var(--text-secondary); margin: 6px 0 12px; }
.req-reward-list { display: flex; flex-direction: column; gap: 14px; }
.req-item { display: flex; gap: 12px; }
.req-icon { width: 36px; height: 36px; border-radius: 10px; background: #f0f0f0; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.req-content { flex: 1; }
.req-content h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.req-content p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.reward-value { display: inline-block; margin-top: 6px; color: var(--primary); font-weight: 600; font-size: 15px; }
.reward-box { text-align: center; padding: 16px; background: #fff7ed; border-radius: var(--radius-sm); margin-bottom: 14px; color: var(--primary-dark); font-size: 17px; font-weight: 700; }
.reward-box i { margin-right: 6px; color: var(--primary); }
.schedule-box { padding: 12px 14px; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 14px; }
.schedule-box p { margin: 6px 0; font-size: 13px; color: var(--text-secondary); }
.schedule-box i { margin-right: 6px; color: var(--primary); width: 16px; }

/* ============ 社群圈子 ============ */
.group-list-page { padding: 20px 0 40px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { padding: 4px 12px; background: #f0f0f0; border-radius: 16px; font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.tag-item.active, .tag-item:hover { background: var(--primary-gradient); color: #fff; }
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.group-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.group-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.group-card a { color: inherit; text-decoration: none; display: block; }
.group-cover { height: 140px; overflow: hidden; }
.group-cover img { width: 100%; height: 100%; object-fit: cover; }
.group-body { padding: 14px; }
.group-name { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.group-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.group-benefits { list-style: none; padding: 0; margin: 0 0 12px; }
.group-benefits li { font-size: 13px; color: var(--text-secondary); padding: 2px 0; }
.group-benefits li i { color: #10b981; margin-right: 6px; }
.group-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border-color); }
.group-join-mode { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.group-price .free { color: #10b981; font-weight: 700; }
.group-price .price { color: var(--primary); font-weight: 700; font-size: 16px; }
.group-sales { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.group-sales i { margin-right: 4px; }

.group-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; height: 240px; }
.group-hero-cover { width: 100%; height: 100%; object-fit: cover; }
.group-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); }
.group-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; color: #fff; }
.group-hero-name { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.group-hero-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.group-hero-meta { display: flex; gap: 16px; font-size: 14px; }
.group-hero-meta i { margin-right: 4px; }
.benefits-list { list-style: none; padding: 0; margin: 0; }
.benefits-list li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); }
.benefits-list li i { color: #10b981; margin-right: 8px; }

/* ============ 活动报名 ============ */
.activity-list-page { padding: 20px 0 40px; }
.activity-tabs { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.activity-tabs .nav-tabs { border: none; }
.activity-tabs .nav-tabs > li > a { border: none; color: var(--text-secondary); font-size: 15px; padding: 8px 16px; }
.activity-tabs .nav-tabs > li.active > a, .activity-tabs .nav-tabs > li.active > a:hover { color: var(--primary); border-bottom: 2px solid var(--primary); background: none; }
.activity-type-filter { display: flex; gap: 8px; }
.type-item { padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--text-secondary); text-decoration: none; background: #f0f0f0; }
.type-item.active, .type-item:hover { background: var(--primary-gradient); color: #fff; }
.activity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.activity-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.activity-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.activity-card a { color: inherit; text-decoration: none; display: flex; }
.activity-cover { width: 160px; flex-shrink: 0; overflow: hidden; }
.activity-cover img { width: 100%; height: 100%; object-fit: cover; }
.activity-body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; }
.activity-type-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; margin-bottom: 8px; width: fit-content; }
.activity-type-tag.type-1 { background: #dbeafe; color: #2563eb; }
.activity-type-tag.type-2 { background: #d1fae5; color: #059669; }
.activity-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.activity-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-muted); margin-bottom: auto; }
.activity-meta i { margin-right: 4px; }
.activity-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border-color); }
.activity-footer .quota { font-size: 12px; color: var(--text-muted); }
.activity-price { font-weight: 700; color: var(--primary); }
.activity-cover-lg { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.activity-cover-lg img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.activity-price-box { text-align: center; padding: 16px; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 14px; }
.activity-info-list { padding: 12px 14px; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 14px; }
.activity-info-list p { margin: 6px 0; font-size: 13px; color: var(--text-secondary); }
.activity-info-list i { margin-right: 6px; color: var(--primary); width: 16px; }

/* ============ 页脚 ============ */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 24px 0;
    margin-top: 40px;
}
.footer p { margin: 0; font-size: 13px; }
.footer a { color: #ccc; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .resource-grid, .tool-grid, .material-grid, .group-grid { grid-template-columns: repeat(2, 1fr); }
    .activity-list { grid-template-columns: 1fr; }
    .project-item > a { flex-direction: column; }
    .project-cover { width: 100%; }
    .project-item-right { width: 100%; border-left: none; border-top: 1px solid var(--border-color); }
    .featured-card { flex-direction: column; }
    .featured-cover { width: 100%; }
    .quick-item { width: 25%; margin-bottom: 16px; }
}
@media (max-width: 768px) {
    .resource-grid, .tool-grid, .material-grid, .group-grid, .course-grid { grid-template-columns: 1fr; }
    .quick-item { width: 33.33%; }
    .banner-section .carousel-inner > .item > a > img { height: 180px; }
    .navbar-djs .nav-search .form-control { width: 120px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .activity-card a { flex-direction: column; }
    .activity-cover { width: 100%; height: 160px; }
    .info-grid { grid-template-columns: 1fr; }
    .image-gallery { grid-template-columns: repeat(2, 1fr); }
    .member-sidebar { position: static; }
    .entry-grid { grid-template-columns: repeat(2, 1fr); }
    .favorite-grid { grid-template-columns: 1fr; }
}

/* ============ 订单模块 ============ */
.order-list-page { padding: 20px 0 40px; }
.order-tabs { margin-bottom: 16px; border-bottom: none; }
.order-tabs > li > a { border: none; color: var(--text-secondary); font-size: 14px; padding: 8px 16px; }
.order-tabs > li.active > a { color: var(--primary); border-bottom: 2px solid var(--primary); background: none; }
.order-card { background: var(--bg-card); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.order-card-header { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #f9fafb; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.order-no { color: var(--text-secondary); }
.order-time { color: var(--text-muted); }
.order-status { margin-left: auto; font-weight: 600; }
.order-status.status-1 { color: var(--primary); }
.order-status.status-2 { color: #10b981; }
.order-status.status-4 { color: #6366f1; }
.order-status.status-0 { color: var(--text-muted); }
.order-card-body { display: flex; align-items: center; padding: 16px; }
.order-goods { flex: 1; display: flex; gap: 12px; }
.order-cover { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.order-cover img { width: 100%; height: 100%; object-fit: cover; }
.order-info { flex: 1; }
.order-title { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.order-contact { font-size: 13px; color: var(--text-muted); margin: 0; }
.order-amount { text-align: right; }
.amount-label { font-size: 12px; color: var(--text-muted); display: block; }
.amount-value { font-size: 20px; font-weight: 700; color: var(--primary); }
.order-card-footer { padding: 12px 16px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 10px; }
.order-detail-page { padding: 20px 0 40px; }
.order-detail-card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.detail-status-bar { padding: 16px 20px; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.detail-status-bar i { font-size: 22px; }
.detail-status-bar.status-1 { background: #fff7ed; color: var(--primary); }
.detail-status-bar.status-2 { background: #ecfdf5; color: #10b981; }
.detail-status-bar.status-4 { background: #eef2ff; color: #6366f1; }
.detail-row { display: flex; padding: 12px 20px; border-bottom: 1px solid var(--border-color); }
.detail-label { width: 100px; color: var(--text-muted); flex-shrink: 0; }
.detail-value { flex: 1; color: var(--text-primary); }
.detail-section { padding: 16px 20px; }
.detail-section h4 { font-size: 15px; font-weight: 600; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-color); }
.goods-row { display: flex; gap: 12px; align-items: center; }
.goods-cover { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.goods-cover img { width: 100%; height: 100%; object-fit: cover; }
.goods-info { flex: 1; }
.goods-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.goods-amount { font-size: 13px; color: var(--text-secondary); }
.goods-amount .amount { color: var(--primary); font-weight: 600; }

/* ============ 会员中心 ============ */
.member-center-page { padding: 20px 0 40px; }
.member-sidebar { position: sticky; top: 80px; }
.member-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); margin-bottom: 16px; }
.member-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.member-name { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.vip-badge { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; color: #fff; }
.vip-badge.vip-1 { background: var(--primary-gradient); }
.vip-badge.vip-2 { background: linear-gradient(135deg, #1e293b, #0f172a); }
.member-mobile { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; }
.member-menu { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; color: var(--text-secondary); text-decoration: none; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: #f9fafb; color: var(--primary); text-decoration: none; }
.menu-item.active { background: #fff7ed; color: var(--primary); border-left: 3px solid var(--primary); }
.member-main { min-height: 400px; }
.wallet-card { background: var(--primary-gradient); border-radius: var(--radius); padding: 24px; color: #fff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.balance-label { font-size: 14px; opacity: .9; }
.balance-value { font-size: 32px; font-weight: 700; }
.wallet-card .btn { background: rgba(255,255,255,.2); border: none; color: #fff; }
.stats-row { display: flex; gap: 16px; margin-bottom: 20px; }
.stat-item { flex: 1; background: var(--bg-card); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.stat-item:hover { box-shadow: var(--shadow-hover); text-decoration: none; color: inherit; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.quick-entry { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.quick-entry h4 { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.entry-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; background: #f9fafb; border-radius: var(--radius-sm); text-decoration: none; color: var(--text-secondary); font-size: 13px; }
.entry-item:hover { background: #fff7ed; color: var(--primary); }
.entry-item i { font-size: 24px; color: var(--primary); }
.favorite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.favorite-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.favorite-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.favorite-card a { color: inherit; text-decoration: none; display: block; }
.favorite-cover { height: 140px; overflow: hidden; }
.favorite-cover img { width: 100%; height: 100%; object-fit: cover; }
.favorite-body { padding: 12px; }
.favorite-title { font-size: 14px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wallet-summary-card { display: flex; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.summary-item { flex: 1; padding: 24px; text-align: center; border-right: 1px solid var(--border-color); }
.summary-item:last-child { border-right: none; }
.summary-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.summary-value { font-size: 24px; font-weight: 700; color: var(--primary); }
.wallet-log-list { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.wallet-log-item { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border-color); }
.wallet-log-item:last-child { border-bottom: none; }
.log-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.log-icon.log-type-recharge { background: #d1fae5; color: #10b981; }
.log-icon.log-type-withdraw { background: #fee2e2; color: #ef4444; }
.log-icon.log-type-all { background: #f0f0f0; color: var(--text-secondary); }
.log-info { flex: 1; }
.log-title { font-size: 14px; font-weight: 500; }
.log-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.log-amount { font-size: 18px; font-weight: 700; }
.log-amount.income { color: #10b981; }
.log-amount.expense { color: #ef4444; }
.publish-list { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.publish-item { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border-color); }
.publish-item:last-child { border-bottom: none; }
.publish-cover { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; margin-right: 14px; flex-shrink: 0; }
.publish-cover img { width: 100%; height: 100%; object-fit: cover; }
.publish-body { flex: 1; }
.publish-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.publish-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); }
.publish-price { color: var(--primary); font-weight: 600; }
.publish-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.publish-status.status-1 { background: #d1fae5; color: #10b981; }
.publish-status.status-0 { background: #f0f0f0; color: var(--text-muted); }

/* ============ 发布页 ============ */
.publish-page { padding: 20px 0 40px; }
.publish-form { max-width: 720px; margin: 0 auto; }
.form-section { background: var(--bg-card); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.form-section h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.required { color: #ef4444; }
.radio-group { display: flex; gap: 20px; }
.radio-inline { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.upload-cover, .upload-multi { cursor: pointer; }
.upload-placeholder { width: 200px; height: 120px; border: 2px dashed #d1d5db; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); transition: all .2s; }
.upload-placeholder:hover { border-color: var(--primary); color: var(--primary); background: #fff7ed; }
.upload-placeholder i { font-size: 32px; margin-bottom: 8px; }
.upload-placeholder p { font-size: 13px; margin: 0; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.preview-item { position: relative; width: 100px; height: 100px; border-radius: 8px; overflow: hidden; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .remove-btn { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; border: none; cursor: pointer; font-size: 14px; line-height: 1; }
.form-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.form-actions .btn { min-width: 160px; }
